List of usage examples for java.lang Long toString
public String toString()
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindPopDepDefSchemaId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindPopDepDefSchemaId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from ww w. j av a 2s.c o m ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamPopDepObj) { Long defSchemaId = ((ICFBamPopDepObj) genDef).getOptionalDefSchemaId(); if (defSchemaId == null) { ret = null; } else { ret = defSchemaId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamPopDepObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindEnumTagDefSchemaId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindEnumTagDefSchemaId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/*ww w . j av a 2 s. c o m*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamEnumTagObj) { Long defSchemaId = ((ICFBamEnumTagObj) genDef).getOptionalDefSchemaId(); if (defSchemaId == null) { ret = null; } else { ret = defSchemaId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamEnumTagObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindId16GenDispenserId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindId16GenDispenserId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/*from w w w. j a v a2 s.c o m*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamId16GenObj) { Long dispenserId = ((ICFBamId16GenObj) genDef).getOptionalDispenserId(); if (dispenserId == null) { ret = null; } else { ret = dispenserId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamId16GenObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindId32GenDispenserId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindId32GenDispenserId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/* w w w.j av a2s .c o m*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamId32GenObj) { Long dispenserId = ((ICFBamId32GenObj) genDef).getOptionalDispenserId(); if (dispenserId == null) { ret = null; } else { ret = dispenserId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamId32GenObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindId64GenDispenserId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindId64GenDispenserId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from ww w . jav a2 s . com ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamId64GenObj) { Long dispenserId = ((ICFBamId64GenObj) genDef).getOptionalDispenserId(); if (dispenserId == null) { ret = null; } else { ret = dispenserId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamId64GenObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindClearDepDefSchemaId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindClearDepDefSchemaId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/* w w w.j ava 2 s. c om*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamClearDepObj) { Long defSchemaId = ((ICFBamClearDepObj) genDef).getOptionalDefSchemaId(); if (defSchemaId == null) { ret = null; } else { ret = defSchemaId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamClearDepObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindIndexColDefSchemaId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindIndexColDefSchemaId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from www . j a v a2 s . c o m ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamIndexColObj) { Long defSchemaId = ((ICFBamIndexColObj) genDef).getOptionalDefSchemaId(); if (defSchemaId == null) { ret = null; } else { ret = defSchemaId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamIndexColObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindParamNextTenantId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindParamNextTenantId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/*from w ww . j a v a2s . c o m*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamParamObj) { Long nextTenantId = ((ICFBamParamObj) genDef).getOptionalNextTenantId(); if (nextTenantId == null) { ret = null; } else { ret = nextTenantId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamParamObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindParamPrevTenantId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindParamPrevTenantId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/* ww w. j a v a2 s . co m*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamParamObj) { Long prevTenantId = ((ICFBamParamObj) genDef).getOptionalPrevTenantId(); if (prevTenantId == null) { ret = null; } else { ret = prevTenantId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamParamObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindParamTypeTenantId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindParamTypeTenantId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }// w w w . j a va 2 s. com ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamParamObj) { Long typeTenantId = ((ICFBamParamObj) genDef).getOptionalTypeTenantId(); if (typeTenantId == null) { ret = null; } else { ret = typeTenantId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamParamObj"); } return (ret); }