public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindTableJOracleTableMembers.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 ICFBamTableObj) { String jOracleTableMembers = ((ICFBamTableObj) genDef).getOptionalJOracleTableMembers(); ret = jOracleTableMembers; } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamTableObj"); } return (ret); }
public ICFLibAnyObj dereference(MssCFGenContext genContext) { final String S_ProcName = "CFDbTestMssCFReferenceValuePrev.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()"); } ICFDbTestValueObj obj; if (genDef instanceof ICFDbTestValueObj) { obj = (ICFDbTestValueObj) ((ICFDbTestValueObj) genDef).getOptionalLookupPrev(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFDbTestValueObj"); } return (obj); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindHasSchemaDefJSchemaObjMembers"; 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 jSchemaObjMembers = ((ICFBamSchemaDefObj) genDef).getOptionalJSchemaObjMembers(); if (jSchemaObjMembers != 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 = "CFBamMssCFBindHasEnumTagNextTenantId"; 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 ICFBamEnumTagObj) { Long nextTenantId = ((ICFBamEnumTagObj) genDef).getOptionalNextTenantId(); if (nextTenantId != null) { return ("yes"); } else { return ("no"); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFBamEnumTagObj"); } }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFCrmMssCFBindHasISOCurrencyUnitSymbol"; 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 ICFCrmISOCurrencyObj) { String unitSymbol = ((ICFCrmISOCurrencyObj) genDef).getOptionalUnitSymbol(); if (unitSymbol != null) { return ("yes"); } else { return ("no"); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFCrmISOCurrencyObj"); } }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindParamIsNullable.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 ICFBamParamObj) { boolean isNullable = ((ICFBamParamObj) genDef).getRequiredIsNullable(); if (isNullable) { ret = "yes"; } else { ret = "no"; } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamParamObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindSecSessionSecDevName.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 ICFBamSecSessionObj) { String secDevName = ((ICFBamSecSessionObj) genDef).getOptionalSecDevName(); ret = secDevName; } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamSecSessionObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAccMssCFBindAttachmentAttachment.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 ICFAccAttachmentObj) { String attachment = ((ICFAccAttachmentObj) genDef).getRequiredAttachment(); ret = attachment; } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAccAttachmentObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFFreeSwitchMssCFBindISOLanguageISOCountryId.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 ICFFreeSwitchISOLanguageObj) { Short iSOCountryId = ((ICFFreeSwitchISOLanguageObj) genDef).getOptionalISOCountryId(); if (iSOCountryId == null) { ret = null; } else { ret = iSOCountryId.toString(); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFFreeSwitchISOLanguageObj"); } return (ret); }
public ICFLibAnyObj dereference(MssCFGenContext genContext) { final String S_ProcName = "CFDbTestMssCFReferenceNmTokensColTable.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()"); } ICFDbTestTableObj obj; if (genDef instanceof ICFDbTestNmTokensColObj) { obj = (ICFDbTestTableObj) ((ICFDbTestNmTokensColObj) genDef).getRequiredContainerTable(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFDbTestNmTokensColObj"); } return (obj); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFFreeSwitchMssCFBindSecUserSecUserId.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 ICFFreeSwitchSecUserObj) { UUID secUserId = ((ICFFreeSwitchSecUserObj) genDef).getRequiredSecUserId(); if (secUserId == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 0, "Value"); } ret = secUserId.toString(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFFreeSwitchSecUserObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFInternetMssCFBindClusterDescription.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 ICFInternetClusterObj) { String description = ((ICFInternetClusterObj) genDef).getRequiredDescription(); ret = description; } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFInternetClusterObj"); } return (ret); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFCrmMssCFBindContactURLName.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 ICFCrmContactURLObj) { name = ((ICFCrmContactURLObj) genDef).getRequiredName(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFCrmContactURLObj"); } return (name); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindIndexDefSchemaId.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 defSchemaId; if (genDef instanceof ICFBamIndexObj) { defSchemaId = ((ICFBamIndexObj) genDef).getOptionalDefSchemaId(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamIndexObj"); } return (defSchemaId); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFDbTestMssCFBindReqMinMaxValueTestUInt64.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 ICFDbTestReqMinMaxValueObj) { BigDecimal testUInt64 = ((ICFDbTestReqMinMaxValueObj) genDef).getRequiredTestUInt64(); if (testUInt64 == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 0, "Value"); } ret = testUInt64.toString(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFDbTestReqMinMaxValueObj"); } return (ret); }
public ICFLibAnyObj dereference(MssCFGenContext genContext) { final String S_ProcName = "CFInternetMssCFReferenceServiceCluster.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()"); } ICFInternetClusterObj obj; if (genDef instanceof ICFInternetServiceObj) { obj = (ICFInternetClusterObj) ((ICFInternetServiceObj) genDef).getRequiredOwnerCluster(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFInternetServiceObj"); } return (obj); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFFreeSwitchMssCFBindFSSFVMailOperatorExtension.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 ICFFreeSwitchFSSFVMailObj) { String operatorExtension = ((ICFFreeSwitchFSSFVMailObj) genDef).getRequiredOperatorExtension(); ret = operatorExtension; } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFFreeSwitchFSSFVMailObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAccMssCFBindISOCurrencyId.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 ICFAccISOCurrencyObj) { short id = ((ICFAccISOCurrencyObj) genDef).getRequiredId(); ret = Short.toString(id); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAccISOCurrencyObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindTSecGroupMemberTSecGroupId.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 ICFBamTSecGroupMemberObj) { int tSecGroupId = ((ICFBamTSecGroupMemberObj) genDef).getRequiredTSecGroupId(); ret = Integer.toString(tSecGroupId); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamTSecGroupMemberObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFFreeSwitchMssCFBindFSSFConferenceProfileNackSound.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 ICFFreeSwitchFSSFConferenceProfileObj) { String nackSound = ((ICFFreeSwitchFSSFConferenceProfileObj) genDef).getOptionalNackSound(); ret = nackSound; } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFFreeSwitchFSSFConferenceProfileObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindHasIndexColDescription"; 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 ICFBamIndexColObj) { String description = ((ICFBamIndexColObj) genDef).getOptionalDescription(); if (description != null) { return ("yes"); } else { return ("no"); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFBamIndexColObj"); } }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFAccMssCFBindAccountContactAccountId.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 accountId; if (genDef instanceof ICFAccAccountContactObj) { accountId = ((ICFAccAccountContactObj) genDef).getRequiredAccountId(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAccAccountContactObj"); } return (accountId); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindSecUserEMailAddress.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 ICFBamSecUserObj) { String eMailAddress = ((ICFBamSecUserObj) genDef).getRequiredEMailAddress(); ret = eMailAddress; } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamSecUserObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindUuidGenDispenserId.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 ICFBamUuidGenObj) { Long dispenserId = ((ICFBamUuidGenObj) genDef).getOptionalDispenserId(); if (dispenserId == null) { ret = null; } else { ret = dispenserId.toString(); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamUuidGenObj"); } return (ret); }
public ListIterator<ICFLibAnyObj> enumerateDetails(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFIterateNumberTypeRef.enumerateDetails() "; 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()"); } List<ICFLibAnyObj> list = new LinkedList<ICFLibAnyObj>(); if (genDef instanceof ICFBamNumberTypeObj) { Iterator<ICFBamTableColObj> elements = ((ICFBamNumberTypeObj) genDef).getOptionalChildrenRef().iterator(); while (elements.hasNext()) { list.add(elements.next()); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFBamNumberTypeObj"); } return (list.listIterator()); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFFreeSwitchMssCFBindFSSFVMailDeleteFileKey.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 deleteFileKey; if (genDef instanceof ICFFreeSwitchFSSFVMailObj) { deleteFileKey = ((ICFFreeSwitchFSSFVMailObj) genDef).getRequiredDeleteFileKey(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFFreeSwitchFSSFVMailObj"); } return (deleteFileKey); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFCrmMssCFBindSecGroupIncludeClusterId.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 ICFCrmSecGroupIncludeObj) { long clusterId = ((ICFCrmSecGroupIncludeObj) genDef).getRequiredClusterId(); ret = Long.toString(clusterId); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFCrmSecGroupIncludeObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindISOLanguageBaseLanguageCode.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 ICFBamISOLanguageObj) { String baseLanguageCode = ((ICFBamISOLanguageObj) genDef).getRequiredBaseLanguageCode(); ret = baseLanguageCode; } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamISOLanguageObj"); } return (ret); }
public ListIterator<ICFLibAnyObj> enumerateDetails(MssCFGenContext genContext) { final String S_ProcName = "CFAsteriskMssCFIterateHostNodeConfFile.enumerateDetails() "; 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()"); } List<ICFLibAnyObj> list = new LinkedList<ICFLibAnyObj>(); if (genDef instanceof ICFAsteriskHostNodeObj) { Iterator<ICFAsteriskConfigurationFileObj> elements = ((ICFAsteriskHostNodeObj) genDef).getOptionalComponentsConfFile().iterator(); while (elements.hasNext()) { list.add(elements.next()); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFAsteriskHostNodeObj"); } return (list.listIterator()); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFFreeSwitchMssCFBindFSSFDialerPleaseEnterPINMsg.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 ICFFreeSwitchFSSFDialerObj) { String pleaseEnterPINMsg = ((ICFFreeSwitchFSSFDialerObj) genDef).getRequiredPleaseEnterPINMsg(); ret = pleaseEnterPINMsg; } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFFreeSwitchFSSFDialerObj"); } return (ret); }