List of usage examples for java.lang Long toString
public String toString()
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindInt64DefDefaultValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindInt64DefDefaultValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from w w w . j a v a 2 s.co m ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamInt64DefObj) { Long defaultValue = ((ICFBamInt64DefObj) genDef).getOptionalDefaultValue(); if (defaultValue == null) { ret = null; } else { ret = defaultValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamInt64DefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindInt64DefUnknownValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindInt64DefUnknownValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from ww w . j a va2 s . c om ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamInt64DefObj) { Long unknownValue = ((ICFBamInt64DefObj) genDef).getOptionalUnknownValue(); if (unknownValue == null) { ret = null; } else { ret = unknownValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamInt64DefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindRelationColDefSchemaId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindRelationColDefSchemaId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/*w ww . j a v 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 ICFBamRelationColObj) { Long defSchemaId = ((ICFBamRelationColObj) genDef).getOptionalDefSchemaId(); if (defSchemaId == null) { ret = null; } else { ret = defSchemaId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamRelationColObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindServerListFuncRetTableId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindServerListFuncRetTableId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from ww w .j a va2s.c o m ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamServerListFuncObj) { Long retTableId = ((ICFBamServerListFuncObj) genDef).getOptionalRetTableId(); if (retTableId == null) { ret = null; } else { ret = retTableId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamServerListFuncObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindTableColDataTenantId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindTableColDataTenantId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/*w w w .j av a 2 s.co m*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamTableColObj) { Long dataTenantId = ((ICFBamTableColObj) genDef).getOptionalDataTenantId(); if (dataTenantId == null) { ret = null; } else { ret = dataTenantId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamTableColObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindTableLookupIndexId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindTableLookupIndexId.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 ICFBamTableObj) { Long lookupIndexId = ((ICFBamTableObj) genDef).getOptionalLookupIndexId(); if (lookupIndexId == null) { ret = null; } else { ret = lookupIndexId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamTableObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindDelTopDepNextTenantId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindDelTopDepNextTenantId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//w w w .ja v a2s.c om ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamDelTopDepObj) { Long nextTenantId = ((ICFBamDelTopDepObj) genDef).getOptionalNextTenantId(); if (nextTenantId == null) { ret = null; } else { ret = nextTenantId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamDelTopDepObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindDelTopDepPrevTenantId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindDelTopDepPrevTenantId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from ww w . j av 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 ICFBamDelTopDepObj) { Long prevTenantId = ((ICFBamDelTopDepObj) genDef).getOptionalPrevTenantId(); if (prevTenantId == null) { ret = null; } else { ret = prevTenantId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamDelTopDepObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindSchemaRefNextTenantId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindSchemaRefNextTenantId.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 ICFBamSchemaRefObj) { Long nextTenantId = ((ICFBamSchemaRefObj) genDef).getOptionalNextTenantId(); if (nextTenantId == null) { ret = null; } else { ret = nextTenantId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamSchemaRefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindSchemaRefPrevTenantId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindSchemaRefPrevTenantId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }// ww w . ja va2 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 ICFBamSchemaRefObj) { Long prevTenantId = ((ICFBamSchemaRefObj) genDef).getOptionalPrevTenantId(); if (prevTenantId == null) { ret = null; } else { ret = prevTenantId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamSchemaRefObj"); } return (ret); }