public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFAccMssCFBindTSecGroupIncludeTSecGroupIncludeId.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 tSecGroupIncludeId; if (genDef instanceof ICFAccTSecGroupIncludeObj) { tSecGroupIncludeId = ((ICFAccTSecGroupIncludeObj) genDef).getRequiredTSecGroupIncludeId(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAccTSecGroupIncludeObj"); } return (tSecGroupIncludeId); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAccMssCFBindAccountContactAccountId.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 ICFAccAccountContactObj) { long accountId = ((ICFAccAccountContactObj) genDef).getRequiredAccountId(); ret = Long.toString(accountId); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAccAccountContactObj"); } return (ret); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFAccMssCFBindAttachmentAttachment.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 attachment; if (genDef instanceof ICFAccAttachmentObj) { attachment = ((ICFAccAttachmentObj) genDef).getRequiredAttachment(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAccAttachmentObj"); } return (attachment); }