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 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";
   CFSecurityCursor cursor = new CFSecurityPgSqlCursor(Authorization, schema, sql);
   return (cursor);
 }
 public String toString() {
   String ret =
       "<CFInternetURLProtocolHPKey"
           + " RequiredURLProtocolId="
           + "\""
           + Short.toString(getRequiredURLProtocolId())
           + "\""
           + " RequiredRevision=\""
           + Integer.toString(getRequiredRevision())
           + "\""
           + "/>";
   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);
 }