public boolean equals(Object obj) {
   if (obj == null) {
     return (false);
   } else if (obj instanceof CFBamBoolTypeHBuff) {
     CFBamBoolTypeHBuff rhs = (CFBamBoolTypeHBuff) obj;
     if (!super.equals(obj)) {
       return (false);
     }
     if (getRequiredTenantId() != rhs.getRequiredTenantId()) {
       return (false);
     }
     if (getRequiredId() != rhs.getRequiredId()) {
       return (false);
     }
     if (getRequiredSchemaDefId() != rhs.getRequiredSchemaDefId()) {
       return (false);
     }
     return (true);
   } else if (obj instanceof CFBamBoolTypeBuff) {
     CFBamBoolTypeBuff rhs = (CFBamBoolTypeBuff) obj;
     if (!super.equals(obj)) {
       return (false);
     }
     if (getRequiredTenantId() != rhs.getRequiredTenantId()) {
       return (false);
     }
     if (getRequiredId() != rhs.getRequiredId()) {
       return (false);
     }
     if (getRequiredSchemaDefId() != rhs.getRequiredSchemaDefId()) {
       return (false);
     }
     return (true);
   } else if (obj instanceof CFBamBoolTypeBySchemaIdxKey) {
     CFBamBoolTypeBySchemaIdxKey rhs = (CFBamBoolTypeBySchemaIdxKey) obj;
     if (getRequiredTenantId() != rhs.getRequiredTenantId()) {
       return (false);
     }
     if (getRequiredSchemaDefId() != rhs.getRequiredSchemaDefId()) {
       return (false);
     }
     return (true);
   } else {
     return (super.equals(obj));
   }
 }
 public void setBoolTypeBuff(CFBamBoolTypeBuff src) {
   super.setBoolDefBuff(src);
   setRequiredSchemaDefId(src.getRequiredSchemaDefId());
 }