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 = "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 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 = "CFAccMssCFBindAccountChequeNumDigits.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 ICFAccAccountObj) {
      short chequeNumDigits = ((ICFAccAccountObj) genDef).getRequiredChequeNumDigits();
      ret = Short.toString(chequeNumDigits);
    } else {
      throw CFLib.getDefaultExceptionFactory()
          .newUnsupportedClassException(
              getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAccAccountObj");
    }

    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";
   CFDbTestCursor cursor = new CFDbTestPgSqlCursor(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 =
       "<CFInternetURLProtocolHPKey"
           + " RequiredURLProtocolId="
           + "\""
           + Short.toString(getRequiredURLProtocolId())
           + "\""
           + " 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 CFSecurityCursor openISOCountryCurrencyCursorByCurrencyIdx(
     CFSecurityAuthorization Authorization, short ISOCurrencyId) {
   String sql =
       getSqlSelectISOCountryCurrencyBuff()
           + " WHERE "
           + "iccy.isocurrencyid = "
           + Short.toString(ISOCurrencyId)
           + " "
           + "ORDER BY "
           + "iccy.ISOCountryId ASC"
           + ", "
           + "iccy.ISOCurrencyId ASC";
   CFBamCursor cursor = new CFBamMSSqlCursor(Authorization, schema, sql);
   return (cursor);
 }
 public CFSecurityCursor openISOCountryLanguageCursorByLanguageIdx(
     CFSecurityAuthorization Authorization, short ISOLanguageId) {
   String sql =
       getSqlSelectISOCountryLanguageBuff()
           + "WHERE "
           + "iscl.ISOLanguageId = "
           + Short.toString(ISOLanguageId)
           + " "
           + "ORDER BY "
           + "iscl.ISOCountryId ASC"
           + ", "
           + "iscl.ISOLanguageId ASC";
   CFFreeSwitchCursor cursor = new CFFreeSwitchPgSqlCursor(Authorization, schema, sql);
   return (cursor);
 }
 public String toString() {
   String ret =
       "<CFAsteriskClusterId64Gen"
           + " RequiredId="
           + "\""
           + Long.toString(getRequiredId())
           + "\""
           + ", SliceId=\""
           + Short.toString(getRequiredSliceId())
           + "\""
           + ", NextId=\""
           + Long.toString(nextId)
           + "\"/>";
   return (ret);
 }
 public String getObjName() {
   String objName;
   short val = getRequiredISOLanguageId();
   objName = Short.toString(val);
   return (objName);
 }