public static String formatClearSubDep2BuffAttributes(
     String separator, CFBamClearSubDep2Buff buff) {
   String retval =
       CFBamXMsgClearDepMessageFormatter.formatClearDepBuffAttributes(separator, buff)
           + CFLibXmlUtil.formatRequiredInt64(
               separator, "ContClearDep1TenantId", buff.getRequiredContClearDep1TenantId())
           + CFLibXmlUtil.formatRequiredInt64(
               separator, "ContClearDep1Id", buff.getRequiredContClearDep1Id())
           + CFLibXmlUtil.formatRequiredXmlString(separator, "Name", buff.getRequiredName());
   return (retval);
 }
 public static String formatClearSubDep2RqstDelete(String separator, CFBamClearSubDep2Buff buff) {
   String retval =
       "<RqstClearSubDep2Delete "
           + formatScopePKeyAttributes(separator, buff)
           + CFLibXmlUtil.formatRequiredInt32(separator, "Revision", buff.getRequiredRevision())
           + " />";
   return (retval);
 }
 public void setClearSubDep2Buff(CFBamClearSubDep2Buff src) {
   super.setClearDepBuff(src);
   setRequiredContClearDep1TenantId(src.getRequiredContClearDep1TenantId());
   setRequiredContClearDep1Id(src.getRequiredContClearDep1Id());
   setRequiredName(src.getRequiredName());
 }
 public boolean equals(Object obj) {
   if (obj == null) {
     return (false);
   } else if (obj instanceof CFBamClearSubDep2HBuff) {
     CFBamClearSubDep2HBuff rhs = (CFBamClearSubDep2HBuff) obj;
     if (!super.equals(obj)) {
       return (false);
     }
     if (getRequiredTenantId() != rhs.getRequiredTenantId()) {
       return (false);
     }
     if (getRequiredId() != rhs.getRequiredId()) {
       return (false);
     }
     if (getRequiredContClearDep1TenantId() != rhs.getRequiredContClearDep1TenantId()) {
       return (false);
     }
     if (getRequiredContClearDep1Id() != rhs.getRequiredContClearDep1Id()) {
       return (false);
     }
     if (!getRequiredName().equals(rhs.getRequiredName())) {
       return (false);
     }
     return (true);
   } else if (obj instanceof CFBamClearSubDep2Buff) {
     CFBamClearSubDep2Buff rhs = (CFBamClearSubDep2Buff) obj;
     if (!super.equals(obj)) {
       return (false);
     }
     if (getRequiredTenantId() != rhs.getRequiredTenantId()) {
       return (false);
     }
     if (getRequiredId() != rhs.getRequiredId()) {
       return (false);
     }
     if (getRequiredContClearDep1TenantId() != rhs.getRequiredContClearDep1TenantId()) {
       return (false);
     }
     if (getRequiredContClearDep1Id() != rhs.getRequiredContClearDep1Id()) {
       return (false);
     }
     if (!getRequiredName().equals(rhs.getRequiredName())) {
       return (false);
     }
     return (true);
   } else if (obj instanceof CFBamClearSubDep2ByContClearDep1IdxKey) {
     CFBamClearSubDep2ByContClearDep1IdxKey rhs = (CFBamClearSubDep2ByContClearDep1IdxKey) obj;
     if (getRequiredContClearDep1TenantId() != rhs.getRequiredContClearDep1TenantId()) {
       return (false);
     }
     if (getRequiredContClearDep1Id() != rhs.getRequiredContClearDep1Id()) {
       return (false);
     }
     return (true);
   } else if (obj instanceof CFBamClearSubDep2ByUNameIdxKey) {
     CFBamClearSubDep2ByUNameIdxKey rhs = (CFBamClearSubDep2ByUNameIdxKey) obj;
     if (getRequiredTenantId() != rhs.getRequiredTenantId()) {
       return (false);
     }
     if (getRequiredContClearDep1Id() != rhs.getRequiredContClearDep1Id()) {
       return (false);
     }
     if (!getRequiredName().equals(rhs.getRequiredName())) {
       return (false);
     }
     return (true);
   } else {
     return (super.equals(obj));
   }
 }