public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindPopSubDep1ContPopTopDepId.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 ICFBamPopSubDep1Obj) { long contPopTopDepId = ((ICFBamPopSubDep1Obj) genDef).getRequiredContPopTopDepId(); ret = Long.toString(contPopTopDepId); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamPopSubDep1Obj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindFloatDefMinValue.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 ICFBamFloatDefObj) { Float minValue = ((ICFBamFloatDefObj) genDef).getOptionalMinValue(); if (minValue == null) { ret = null; } else { ret = minValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamFloatDefObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindHostNodeHostName.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 ICFBamHostNodeObj) { String hostName = ((ICFBamHostNodeObj) genDef).getRequiredHostName(); ret = hostName; } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamHostNodeObj"); } return (ret); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindTableSchemaDefId.getValueObject() "; 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()"); } long schemaDefId; if (genDef instanceof ICFBamTableObj) { schemaDefId = ((ICFBamTableObj) genDef).getRequiredSchemaDefId(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamTableObj"); } return (schemaDefId); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindFloatDefDefaultValue.getValueObject() "; 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()"); } Float defaultValue; if (genDef instanceof ICFBamFloatDefObj) { defaultValue = ((ICFBamFloatDefObj) genDef).getOptionalDefaultValue(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamFloatDefObj"); } return (defaultValue); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindHasSchemaDefJXMsgClientSchemaImport"; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext.getGenDef()"); } if (genDef instanceof ICFBamSchemaDefObj) { String jXMsgClientSchemaImport = ((ICFBamSchemaDefObj) genDef).getOptionalJXMsgClientSchemaImport(); if (jXMsgClientSchemaImport != null) { return ("yes"); } else { return ("no"); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFBamSchemaDefObj"); } }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindHasTableJTableObjInterface"; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext.getGenDef()"); } if (genDef instanceof ICFBamTableObj) { String jTableObjInterface = ((ICFBamTableObj) genDef).getOptionalJTableObjInterface(); if (jTableObjInterface != null) { return ("yes"); } else { return ("no"); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFBamTableObj"); } }
public ICFLibAnyObj dereference(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFReferenceSchemaDefVAccSec.dereference() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext.getGenDef()"); } ICFBamAccessSecurityObj obj; if (genDef instanceof ICFBamSchemaDefObj) { obj = (ICFBamAccessSecurityObj) ((ICFBamSchemaDefObj) genDef).getOptionalLookupVAccSec(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFBamSchemaDefObj"); } return (obj); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindRelationName.getValueObject() "; 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 name; if (genDef instanceof ICFBamRelationObj) { name = ((ICFBamRelationObj) genDef).getRequiredName(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamRelationObj"); } return (name); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "expandBody"; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext.getGenDef()"); } ICFBamServiceTypeObj obj; if (genDef instanceof ICFBamServiceObj) { obj = (ICFBamServiceTypeObj) ((ICFBamServiceObj) genDef).getOptionalParentServiceType(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFBamServiceObj"); } if (obj != null) { return ("yes"); } else { return ("no"); } }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindServiceTypeServiceTypeId.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 ICFBamServiceTypeObj) { int serviceTypeId = ((ICFBamServiceTypeObj) genDef).getRequiredServiceTypeId(); ret = Integer.toString(serviceTypeId); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamServiceTypeObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindIndexIsDbMapped.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 ICFBamIndexObj) { boolean isDbMapped = ((ICFBamIndexObj) genDef).getRequiredIsDbMapped(); if (isDbMapped) { ret = "yes"; } else { ret = "no"; } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamIndexObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindISOCountryLanguageISOCountryId.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 ICFBamISOCountryLanguageObj) { short iSOCountryId = ((ICFBamISOCountryLanguageObj) genDef).getRequiredISOCountryId(); ret = Short.toString(iSOCountryId); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamISOCountryLanguageObj"); } return (ret); }
public ListIterator<ICFLibAnyObj> enumerateDetails(MssCFGenContext genContext) { ICFLibAnyObj genDef; final String S_ProcName = "enumerateDetails"; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext"); } genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 0, "genContext.GenDef"); } if (!(genDef instanceof ICFBamSchemaDefObj)) { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.GenDef", genDef, "ICFBamSchemaDefObj"); } ICFBamSchemaDefObj schemaDefObj = (ICFBamSchemaDefObj) genDef; List<ICFBamValueObj> schemaTypes = schemaDefObj.getOptionalComponentsTypes(); ICFBamValueObj valueObj; ICFBamId64GenObj genObj; Iterator<ICFBamValueObj> almostDone = schemaTypes.iterator(); List<ICFLibAnyObj> list = new LinkedList<ICFLibAnyObj>(); while (almostDone.hasNext()) { valueObj = almostDone.next(); if (valueObj instanceof ICFBamId64GenObj) { genObj = (ICFBamId64GenObj) valueObj; if (null == genObj.getOptionalLookupDispenser()) { list.add(genObj); } } } return (list.listIterator()); }