public void setOptionalEnumCode(Short value) {
   if (value == null) {
     optionalEnumCode = null;
   } else if (value < CFBamEnumTagBuff.ENUMCODE_MIN_VALUE) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentUnderflowException(
             getClass(),
             "setOptionalEnumCode",
             1,
             "value",
             value,
             CFBamEnumTagBuff.ENUMCODE_MIN_VALUE);
   } else if (value > CFBamEnumTagBuff.ENUMCODE_MAX_VALUE) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentOverflowException(
             getClass(),
             "setOptionalEnumCode",
             1,
             "value",
             value,
             CFBamEnumTagBuff.ENUMCODE_MAX_VALUE);
   } else {
     optionalEnumCode = value;
   }
 }
  public ListIterator<ICFLibAnyObj> enumerateDetails(MssCFGenContext genContext) {
    final String S_ProcName = "CFInternetMssCFIterateTSecGroupIncByGroup.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 ICFInternetTSecGroupObj) {
      Iterator<ICFSecurityTSecGroupIncludeObj> elements =
          ((ICFInternetTSecGroupObj) genDef).getRequiredChildrenIncByGroup().iterator();
      while (elements.hasNext()) {
        list.add(elements.next());
      }
    } else {
      throw CFLib.getDefaultExceptionFactory()
          .newUnsupportedClassException(
              getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFInternetTSecGroupObj");
    }

    return (list.listIterator());
  }
  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 void setOptionalUnknownValue(Float value) {
   if (value == null) {
     optionalUnknownValue = null;
   } else if (value < CFBamFloatDefBuff.UNKNOWNVALUE_MIN_VALUE) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentUnderflowException(
             getClass(),
             "setOptionalUnknownValue",
             1,
             "value",
             value,
             CFBamFloatDefBuff.UNKNOWNVALUE_MIN_VALUE);
   } else if (value > CFBamFloatDefBuff.UNKNOWNVALUE_MAX_VALUE) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentOverflowException(
             getClass(),
             "setOptionalUnknownValue",
             1,
             "value",
             value,
             CFBamFloatDefBuff.UNKNOWNVALUE_MAX_VALUE);
   } else {
     optionalUnknownValue = value;
   }
 }
  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 void setRequiredDescription(String value) {
   if (value == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), "setRequiredDescription", 1, "value");
   }
   if (value.length() > 127) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentOverflowException(
             getClass(), "setRequiredDescription", 1, "value.length()", value.length(), 127);
   }
   requiredDescription = value;
 }
 public void setRequiredTenantName(String value) {
   if (value == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), "setRequiredTenantName", 1, "value");
   }
   if (value.length() > 192) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentOverflowException(
             getClass(), "setRequiredTenantName", 1, "value.length()", value.length(), 192);
   }
   requiredTenantName = value;
 }
 public void setRequiredDefaultAreacode(String value) {
   if (value == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), "setRequiredDefaultAreacode", 1, "value");
   }
   if (value.length() > 511) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentOverflowException(
             getClass(), "setRequiredDefaultAreacode", 1, "value.length()", value.length(), 511);
   }
   requiredDefaultAreacode = value;
 }
 public void setRequiredFileContents(String value) {
   if (value == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), "setRequiredFileContents", 1, "value");
   }
   if (value.length() > 2000000) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentOverflowException(
             getClass(), "setRequiredFileContents", 1, "value.length()", value.length(), 2000000);
   }
   requiredFileContents = value;
 }
 public void setRequiredId(short value) {
   if (value < CFGenKbRuleTypeBuff.ID_MIN_VALUE) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentUnderflowException(
             getClass(), "setRequiredId", 1, "value", value, CFGenKbRuleTypeBuff.ID_MIN_VALUE);
   }
   if (value > CFGenKbRuleTypeBuff.ID_MAX_VALUE) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentOverflowException(
             getClass(), "setRequiredId", 1, "value", value, CFGenKbRuleTypeBuff.ID_MAX_VALUE);
   }
   requiredId = value;
 }
 public int compareTo(Object obj) {
   if (obj == null) {
     return (-1);
   } else if (obj instanceof CFCrmRamClusterId32Gen) {
     CFCrmRamClusterId32Gen rhs = (CFCrmRamClusterId32Gen) obj;
     if (getRequiredId() < rhs.getRequiredId()) {
       return (-1);
     } else if (getRequiredId() > rhs.getRequiredId()) {
       return (1);
     }
     {
       short lhsSliceId = getRequiredSliceId();
       short rhsSliceId = rhs.getRequiredSliceId();
       if (lhsSliceId < rhsSliceId) {
         return (-1);
       } else if (lhsSliceId > rhsSliceId) {
         return (1);
       }
     }
     return (0);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(getClass(), "compareTo", "obj", obj, "CFCrmClusterId32Gen");
   }
 }
 public int compareTo(Object obj) {
   if (obj == null) {
     return (1);
   } else if (obj instanceof CFFreeSwitchPbxIvrMenuEntryByMenuIdIdxKey) {
     CFFreeSwitchPbxIvrMenuEntryByMenuIdIdxKey rhs =
         (CFFreeSwitchPbxIvrMenuEntryByMenuIdIdxKey) obj;
     if (getRequiredTenantId() < rhs.getRequiredTenantId()) {
       return (-1);
     } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) {
       return (1);
     }
     if (getRequiredMenuId() < rhs.getRequiredMenuId()) {
       return (-1);
     } else if (getRequiredMenuId() > rhs.getRequiredMenuId()) {
       return (1);
     }
     return (0);
   } else if (obj instanceof CFFreeSwitchPbxIvrMenuEntryBuff) {
     CFFreeSwitchPbxIvrMenuEntryBuff rhs = (CFFreeSwitchPbxIvrMenuEntryBuff) obj;
     if (getRequiredTenantId() < rhs.getRequiredTenantId()) {
       return (-1);
     } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) {
       return (1);
     }
     if (getRequiredMenuId() < rhs.getRequiredMenuId()) {
       return (-1);
     } else if (getRequiredMenuId() > rhs.getRequiredMenuId()) {
       return (1);
     }
     return (0);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(getClass(), "compareTo", "obj", obj, null);
   }
 }
 public int compareTo(Object obj) {
   if (obj == null) {
     return (1);
   } else if (obj instanceof CFGenKbISOCurrencyByCcyCdIdxKey) {
     CFGenKbISOCurrencyByCcyCdIdxKey rhs = (CFGenKbISOCurrencyByCcyCdIdxKey) obj;
     {
       int cmp = getRequiredISOCode().compareTo(rhs.getRequiredISOCode());
       if (cmp != 0) {
         return (cmp);
       }
     }
     return (0);
   } else if (obj instanceof CFGenKbISOCurrencyBuff) {
     CFGenKbISOCurrencyBuff rhs = (CFGenKbISOCurrencyBuff) obj;
     {
       int cmp = getRequiredISOCode().compareTo(rhs.getRequiredISOCode());
       if (cmp != 0) {
         return (cmp);
       }
     }
     return (0);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(getClass(), "compareTo", "obj", obj, null);
   }
 }
 public int compareTo(Object obj) {
   if (obj == null) {
     return (1);
   } else if (obj instanceof CFSecurityISOCountryLanguageByCountryIdxKey) {
     CFSecurityISOCountryLanguageByCountryIdxKey rhs =
         (CFSecurityISOCountryLanguageByCountryIdxKey) obj;
     if (getRequiredISOCountryId() < rhs.getRequiredISOCountryId()) {
       return (-1);
     } else if (getRequiredISOCountryId() > rhs.getRequiredISOCountryId()) {
       return (1);
     }
     return (0);
   } else if (obj instanceof CFSecurityISOCountryLanguageBuff) {
     CFSecurityISOCountryLanguageBuff rhs = (CFSecurityISOCountryLanguageBuff) obj;
     if (getRequiredISOCountryId() < rhs.getRequiredISOCountryId()) {
       return (-1);
     } else if (getRequiredISOCountryId() > rhs.getRequiredISOCountryId()) {
       return (1);
     }
     return (0);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(getClass(), "compareTo", "obj", obj, null);
   }
 }
 public int compareTo(Object obj) {
   if (obj == null) {
     return (1);
   } else if (obj instanceof CFSecuritySecGroupFormByGroupIdxKey) {
     CFSecuritySecGroupFormByGroupIdxKey rhs = (CFSecuritySecGroupFormByGroupIdxKey) obj;
     if (getRequiredClusterId() < rhs.getRequiredClusterId()) {
       return (-1);
     } else if (getRequiredClusterId() > rhs.getRequiredClusterId()) {
       return (1);
     }
     if (getRequiredSecGroupId() < rhs.getRequiredSecGroupId()) {
       return (-1);
     } else if (getRequiredSecGroupId() > rhs.getRequiredSecGroupId()) {
       return (1);
     }
     return (0);
   } else if (obj instanceof CFSecuritySecGroupFormBuff) {
     CFSecuritySecGroupFormBuff rhs = (CFSecuritySecGroupFormBuff) obj;
     if (getRequiredClusterId() < rhs.getRequiredClusterId()) {
       return (-1);
     } else if (getRequiredClusterId() > rhs.getRequiredClusterId()) {
       return (1);
     }
     if (getRequiredSecGroupId() < rhs.getRequiredSecGroupId()) {
       return (-1);
     } else if (getRequiredSecGroupId() > rhs.getRequiredSecGroupId()) {
       return (1);
     }
     return (0);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(getClass(), "compareTo", "obj", obj, null);
   }
 }
 public int compareTo(Object obj) {
   if (obj == null) {
     return (1);
   } else if (obj instanceof CFBamTimeColByTableIdxKey) {
     CFBamTimeColByTableIdxKey rhs = (CFBamTimeColByTableIdxKey) obj;
     if (getRequiredTenantId() < rhs.getRequiredTenantId()) {
       return (-1);
     } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) {
       return (1);
     }
     if (getRequiredTableId() < rhs.getRequiredTableId()) {
       return (-1);
     } else if (getRequiredTableId() > rhs.getRequiredTableId()) {
       return (1);
     }
     return (0);
   } else if (obj instanceof CFBamTimeColBuff) {
     CFBamTimeColBuff rhs = (CFBamTimeColBuff) obj;
     if (getRequiredTenantId() < rhs.getRequiredTenantId()) {
       return (-1);
     } else if (getRequiredTenantId() > rhs.getRequiredTenantId()) {
       return (1);
     }
     if (getRequiredTableId() < rhs.getRequiredTableId()) {
       return (-1);
     } else if (getRequiredTableId() > rhs.getRequiredTableId()) {
       return (1);
     }
     return (0);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(getClass(), "compareTo", "obj", obj, null);
   }
 }
 public void setRequiredSecUserId(UUID value) {
   if (value == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), "setRequiredSecUserId", 1, "value");
   }
   requiredSecUserId = value;
 }
 public void set(CFBamValueHBuff src) {
   if (src instanceof CFBamTokenTypeHBuff) {
     setTokenTypeBuff((CFBamTokenTypeHBuff) src);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(getClass(), "compareTo", "src", src, "CFBamTokenTypeHBuff");
   }
 }
 public void setRequiredTransferFallbackExtension(String value) {
   if (value == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), "setRequiredTransferFallbackExtension", 1, "value");
   }
   if (value.length() > 511) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentOverflowException(
             getClass(),
             "setRequiredTransferFallbackExtension",
             1,
             "value.length()",
             value.length(),
             511);
   }
   requiredTransferFallbackExtension = value;
 }
 public void set(CFBamScopeBuff src) {
   if (src instanceof CFBamPopSubDep3Buff) {
     setPopSubDep3Buff((CFBamPopSubDep3Buff) src);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(getClass(), "compareTo", "src", src, "CFBamPopSubDep3Buff");
   }
 }
 public void set(CFDbTestValueBuff src) {
   if (src instanceof CFDbTestId64GenBuff) {
     setId64GenBuff((CFDbTestId64GenBuff) src);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(getClass(), "compareTo", "src", src, "CFDbTestId64GenBuff");
   }
 }
 public void setRequiredId(long value) {
   if (value < CFBamEnumTagBuff.ID_MIN_VALUE) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentUnderflowException(
             getClass(), "setRequiredId", 1, "value", value, CFBamEnumTagBuff.ID_MIN_VALUE);
   }
   requiredId = value;
 }
 public void set(CFBamDomainBaseHBuff src) {
   if (src instanceof CFBamVersionHBuff) {
     setVersionBuff((CFBamVersionHBuff) src);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(getClass(), "compareTo", "src", src, "CFBamVersionHBuff");
   }
 }
 public void set(CFAsteriskConfigurationFileHBuff src) {
   if (src instanceof CFAsteriskExtensionsConfHBuff) {
     setExtensionsConfBuff((CFAsteriskExtensionsConfHBuff) src);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(
             getClass(), "compareTo", "src", src, "CFAsteriskExtensionsConfHBuff");
   }
 }
 public void setOptionalUnknownValue(String value) {
   if (value == null) {
     optionalUnknownValue = null;
   } else if (value.length() > 256) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentOverflowException(
             getClass(), "setOptionalUnknownValue", 1, "value.length()", value.length(), 256);
   } else {
     optionalUnknownValue = value;
   }
 }
 public void setOptionalAddrLine2(String value) {
   if (value == null) {
     optionalAddrLine2 = null;
   } else if (value.length() > 50) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentOverflowException(
             getClass(), "setOptionalAddrLine2", 1, "value.length()", value.length(), 50);
   } else {
     optionalAddrLine2 = value;
   }
 }
 public void setOptionalZip(String value) {
   if (value == null) {
     optionalZip = null;
   } else if (value.length() > 15) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentOverflowException(
             getClass(), "setOptionalZip", 1, "value.length()", value.length(), 15);
   } else {
     optionalZip = value;
   }
 }
 public void setRequiredSchemaDefId(long value) {
   if (value < CFBamTokenTypeBuff.SCHEMADEFID_MIN_VALUE) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentUnderflowException(
             getClass(),
             "setRequiredSchemaDefId",
             1,
             "value",
             value,
             CFBamTokenTypeBuff.SCHEMADEFID_MIN_VALUE);
   }
   requiredSchemaDefId = value;
 }
 public void setRequiredTenantId(long value) {
   if (value < CFFreeSwitchFSSFDirectoryBuff.TENANTID_MIN_VALUE) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentUnderflowException(
             getClass(),
             "setRequiredTenantId",
             1,
             "value",
             value,
             CFFreeSwitchFSSFDirectoryBuff.TENANTID_MIN_VALUE);
   }
   requiredTenantId = value;
 }
 public void setRequiredClusterId(long value) {
   if (value < CFSecurityTenantBuff.CLUSTERID_MIN_VALUE) {
     throw CFLib.getDefaultExceptionFactory()
         .newArgumentUnderflowException(
             getClass(),
             "setRequiredClusterId",
             1,
             "value",
             value,
             CFSecurityTenantBuff.CLUSTERID_MIN_VALUE);
   }
   requiredClusterId = value;
 }