public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindInt16DefMaxValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamInt16DefObj) { Short maxValue = ((ICFBamInt16DefObj) genDef).getOptionalMaxValue(); if (maxValue == null) { ret = null; } else { ret = maxValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamInt16DefObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFFreeSwitchMssCFBindISOTimezoneTZMinOffset.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFFreeSwitchISOTimezoneObj) { short tZMinOffset = ((ICFFreeSwitchISOTimezoneObj) genDef).getRequiredTZMinOffset(); ret = Short.toString(tZMinOffset); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFFreeSwitchISOTimezoneObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFSecurityMssCFBindISOLanguageISOLanguageId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFSecurityISOLanguageObj) { short iSOLanguageId = ((ICFSecurityISOLanguageObj) genDef).getRequiredISOLanguageId(); ret = Short.toString(iSOLanguageId); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFSecurityISOLanguageObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindStringDefShowLines.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamStringDefObj) { short showLines = ((ICFBamStringDefObj) genDef).getRequiredShowLines(); ret = Short.toString(showLines); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamStringDefObj"); } return (ret); }