public String expandBody(MssCFGenContext genContext) {
    final String S_ProcName = "CFBamMssCFBindISOCountryCurrencyISOCurrencyId.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 ICFBamISOCountryCurrencyObj) {
      short iSOCurrencyId = ((ICFBamISOCountryCurrencyObj) genDef).getRequiredISOCurrencyId();
      ret = Short.toString(iSOCurrencyId);
    } else {
      throw CFLib.getDefaultExceptionFactory()
          .newUnsupportedClassException(
              getClass(),
              "expandBody",
              "genContext.getGenDef()",
              genDef,
              "ICFBamISOCountryCurrencyObj");
    }

    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 CFSecurityCursor openISOTimezoneCursorByOffsetIdx(
     CFSecurityAuthorization Authorization, short TZHourOffset, short TZMinOffset) {
   String sql =
       getSqlSelectISOTimezoneBuff()
           + " WHERE "
           + "itzn.tzhouroffset = "
           + Short.toString(TZHourOffset)
           + " "
           + "AND "
           + "itzn.tzminoffset = "
           + Short.toString(TZMinOffset)
           + " "
           + "ORDER BY "
           + "itzn.ISOTimezoneId ASC";
   CFAccCursor cursor = new CFAccMSSqlCursor(Authorization, schema, sql);
   return (cursor);
 }
 public String toString() {
   String ret =
       "<CFSecurityISOCountryLanguageByCountryIdx"
           + " RequiredISOCountryId="
           + "\""
           + Short.toString(getRequiredISOCountryId())
           + "\""
           + "/>";
   return (ret);
 }
 public String toString() {
   String ret =
       "<CFBamISOLanguageHPKey"
           + " RequiredId="
           + "\""
           + Short.toString(getRequiredId())
           + "\""
           + " RequiredRevision=\""
           + Integer.toString(getRequiredRevision())
           + "\""
           + "/>";
   return (ret);
 }
 public String toString() {
   String ret =
       "<CFCrmClusterId32Gen"
           + " RequiredId="
           + "\""
           + Long.toString(getRequiredId())
           + "\""
           + ", SliceId=\""
           + Short.toString(getRequiredSliceId())
           + "\""
           + ", NextId=\""
           + Integer.toString(nextId)
           + "\"/>";
   return (ret);
 }
 public String toString() {
   String ret =
       "<CFAsteriskClusterId64Gen"
           + " RequiredId="
           + "\""
           + Long.toString(getRequiredId())
           + "\""
           + ", SliceId=\""
           + Short.toString(getRequiredSliceId())
           + "\""
           + ", NextId=\""
           + Long.toString(nextId)
           + "\"/>";
   return (ret);
 }
 public CFBamCursor openISOCountryCurrencyCursorByCountryIdx(
     CFBamAuthorization Authorization, short ISOCountryId) {
   String sql =
       getSqlSelectISOCountryCurrencyBuff()
           + "WHERE "
           + "iccy.ISOCountryId = "
           + Short.toString(ISOCountryId)
           + " "
           + "ORDER BY "
           + "iccy.ISOCountryId ASC"
           + ", "
           + "iccy.ISOCurrencyId ASC";
   CFBamCursor cursor = new CFBamPgSqlCursor(Authorization, schema, sql);
   return (cursor);
 }
 public String getObjName() {
   String objName;
   short val = getRequiredISOLanguageId();
   objName = Short.toString(val);
   return (objName);
 }