public String toString() {
   String ret =
       "<CFFreeSwitchPbxIvrMenuEntryByMenuIdIdx"
           + " RequiredTenantId="
           + "\""
           + Long.toString(getRequiredTenantId())
           + "\""
           + " RequiredMenuId="
           + "\""
           + Long.toString(getRequiredMenuId())
           + "\""
           + "/>";
   return (ret);
 }
 public String toString() {
   String ret =
       "<CFCrmMemoTagByTagIdx"
           + " RequiredTenantId="
           + "\""
           + Long.toString(getRequiredTenantId())
           + "\""
           + " RequiredTagId="
           + "\""
           + Long.toString(getRequiredTagId())
           + "\""
           + "/>";
   return (ret);
 }
 public String toString() {
   String ret =
       "<CFAsteriskClusterId64Gen"
           + " RequiredId="
           + "\""
           + Long.toString(getRequiredId())
           + "\""
           + ", SliceId=\""
           + Short.toString(getRequiredSliceId())
           + "\""
           + ", NextId=\""
           + Long.toString(nextId)
           + "\"/>";
   return (ret);
 }
  public String expandBody(MssCFGenContext genContext) {
    final String S_ProcName = "CFBamMssCFBindUuidGenDispenserId.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 ICFBamUuidGenObj) {
      Long dispenserId = ((ICFBamUuidGenObj) genDef).getOptionalDispenserId();
      if (dispenserId == null) {
        ret = null;
      } else {
        ret = dispenserId.toString();
      }
    } else {
      throw CFLib.getDefaultExceptionFactory()
          .newUnsupportedClassException(
              getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamUuidGenObj");
    }

    return (ret);
  }
  public String expandBody(MssCFGenContext genContext) {
    final String S_ProcName = "CFCrmMssCFBindSecGroupIncludeClusterId.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 ICFCrmSecGroupIncludeObj) {
      long clusterId = ((ICFCrmSecGroupIncludeObj) genDef).getRequiredClusterId();
      ret = Long.toString(clusterId);
    } else {
      throw CFLib.getDefaultExceptionFactory()
          .newUnsupportedClassException(
              getClass(),
              "expandBody",
              "genContext.getGenDef()",
              genDef,
              "ICFCrmSecGroupIncludeObj");
    }

    return (ret);
  }
 public String toString() {
   String ret =
       "<CFBamValueHPKey"
           + " RequiredTenantId="
           + "\""
           + Long.toString(getRequiredTenantId())
           + "\""
           + " RequiredId="
           + "\""
           + Long.toString(getRequiredId())
           + "\""
           + " RequiredRevision=\""
           + Integer.toString(getRequiredRevision())
           + "\""
           + "/>";
   return (ret);
 }
 public String toString() {
   String ret =
       "<CFFreeSwitchFSSFDialerHPKey"
           + " RequiredTenantId="
           + "\""
           + Long.toString(getRequiredTenantId())
           + "\""
           + " RequiredFSSFDialerId="
           + "\""
           + Long.toString(getRequiredFSSFDialerId())
           + "\""
           + " RequiredRevision=\""
           + Integer.toString(getRequiredRevision())
           + "\""
           + "/>";
   return (ret);
 }
 public String toString() {
   String ret =
       "<CFDbTestTableByUNameIdx"
           + " RequiredTenantId="
           + "\""
           + Long.toString(getRequiredTenantId())
           + "\""
           + " RequiredSchemaDefId="
           + "\""
           + Long.toString(getRequiredSchemaDefId())
           + "\""
           + " RequiredName="
           + "\""
           + CFDbTestSchema.xmlEncodeString(getRequiredName())
           + "\""
           + "/>";
   return (ret);
 }
 public CFSecurityCursor openContactTagCursorByTagIdx(
     CFSecurityAuthorization Authorization, long TenantId, long TagId) {
   String sql =
       getSqlSelectContactTagBuff()
           + " WHERE "
           + "cttg.tenantid = "
           + Long.toString(TenantId)
           + " "
           + "AND "
           + "cttg.tagid = "
           + Long.toString(TagId)
           + " "
           + "ORDER BY "
           + "cttg.TenantId ASC"
           + ", "
           + "cttg.ContactId ASC"
           + ", "
           + "cttg.TagId ASC";
   CFCrmCursor cursor = new CFCrmMSSqlCursor(Authorization, schema, sql);
   return (cursor);
 }
 public String toString() {
   String ret =
       "<CFDbTestOptFullRangeByUDescrIdx"
           + " RequiredTenantId="
           + "\""
           + Long.toString(getRequiredTenantId())
           + "\""
           + " RequiredDescription="
           + "\""
           + CFDbTestSchema.xmlEncodeString(getRequiredDescription())
           + "\""
           + "/>";
   return (ret);
 }
 public CFSecurityCursor openSecGroupCursorByClusterIdx(
     CFSecurityAuthorization Authorization, long ClusterId) {
   String sql =
       getSqlSelectSecGroupBuff()
           + "WHERE "
           + "sgrp.ClusterId = "
           + Long.toString(ClusterId)
           + " "
           + "ORDER BY "
           + "sgrp.ClusterId ASC"
           + ", "
           + "sgrp.SecGroupId ASC";
   CFAccCursor cursor = new CFAccOracleCursor(Authorization, schema, sql);
   return (cursor);
 }
 public CFSecurityCursor openSecFormCursorByClusterIdx(
     CFSecurityAuthorization Authorization, long ClusterId) {
   String sql =
       getSqlSelectSecFormBuff()
           + "WHERE "
           + "sfrm.ClusterId = "
           + Long.toString(ClusterId)
           + " "
           + "ORDER BY "
           + "sfrm.ClusterId ASC"
           + ", "
           + "sfrm.SecFormId ASC";
   CFCrmCursor cursor = new CFCrmDb2LUWCursor(Authorization, schema, sql);
   return (cursor);
 }
 public String toString() {
   String ret =
       "<CFCrmClusterId32Gen"
           + " RequiredId="
           + "\""
           + Long.toString(getRequiredId())
           + "\""
           + ", SliceId=\""
           + Short.toString(getRequiredSliceId())
           + "\""
           + ", NextId=\""
           + Integer.toString(nextId)
           + "\"/>";
   return (ret);
 }
 public CFSecurityCursor openSecAppCursorByClusterIdx(
     CFSecurityAuthorization Authorization, long ClusterId) {
   String sql =
       getSqlSelectSecAppBuff()
           + "WHERE "
           + "sapp.ClusterId = "
           + Long.toString(ClusterId)
           + " "
           + "ORDER BY "
           + "sapp.ClusterId ASC"
           + ", "
           + "sapp.SecAppId ASC";
   CFInternetCursor cursor = new CFInternetDb2LUWCursor(Authorization, schema, sql);
   return (cursor);
 }
 public CFSecurityCursor openTSecGroupCursorByTenantIdx(
     CFSecurityAuthorization Authorization, long TenantId) {
   String sql =
       getSqlSelectTSecGroupBuff()
           + "WHERE "
           + "tgrp.tenantid = "
           + Long.toString(TenantId)
           + " "
           + "ORDER BY "
           + "tgrp.TenantId ASC"
           + ", "
           + "tgrp.TSecGroupId ASC";
   CFBamCursor cursor = new CFBamSybaseCursor(Authorization, schema, sql);
   return (cursor);
 }
 public CFSecurityCursor openTSecGroupCursorByTenantIdx(
     CFSecurityAuthorization Authorization, long TenantId) {
   String sql =
       getSqlSelectTSecGroupBuff()
           + "WHERE "
           + "tgrp.TenantId = "
           + Long.toString(TenantId)
           + " "
           + ((schema.isSystemUser(Authorization))
               ? ""
               : (" AND tgrp.TenantId = " + Authorization.getSecTenantId()))
           + "ORDER BY "
           + "tgrp.TenantId ASC"
           + ", "
           + "tgrp.TSecGroupId ASC";
   CFBamCursor cursor = new CFBamPgSqlCursor(Authorization, schema, sql);
   return (cursor);
 }
 public CFSecurityCursor openHostNodeCursorByClusterIdx(
     CFSecurityAuthorization Authorization, long ClusterId) {
   String sql =
       getSqlSelectHostNodeBuff()
           + "WHERE "
           + "hsnd.ClusterId = "
           + Long.toString(ClusterId)
           + " "
           + ((schema.isSystemUser(Authorization))
               ? ""
               : (" AND hsnd.ClusterId = " + Authorization.getSecClusterId()))
           + "ORDER BY "
           + "hsnd.ClusterId ASC"
           + ", "
           + "hsnd.HostNodeId ASC";
   CFSecurityCursor cursor = new CFSecurityPgSqlCursor(Authorization, schema, sql);
   return (cursor);
 }
 public CFSecurityCursor openSecFormCursorBySecAppIdx(
     CFSecurityAuthorization Authorization, long ClusterId, int SecAppId) {
   String sql =
       getSqlSelectSecFormBuff()
           + "WHERE "
           + "sfrm.clusterid = "
           + Long.toString(ClusterId)
           + " "
           + "AND "
           + "sfrm.secappid = "
           + Integer.toString(SecAppId)
           + " "
           + "ORDER BY "
           + "sfrm.ClusterId ASC"
           + ", "
           + "sfrm.SecFormId ASC";
   CFFreeSwitchCursor cursor = new CFFreeSwitchSybaseCursor(Authorization, schema, sql);
   return (cursor);
 }
 public String getObjName() {
   String objName;
   long val = getRequiredId();
   objName = Long.toString(val);
   return (objName);
 }