public boolean equals(Object obj) {
   if (obj == null) {
     return (false);
   } else if (obj instanceof CFBamBlobTypeHBuff) {
     CFBamBlobTypeHBuff rhs = (CFBamBlobTypeHBuff) 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 CFBamBlobTypeBuff) {
     CFBamBlobTypeBuff rhs = (CFBamBlobTypeBuff) 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 CFBamBlobTypeBySchemaIdxKey) {
     CFBamBlobTypeBySchemaIdxKey rhs = (CFBamBlobTypeBySchemaIdxKey) obj;
     if (getRequiredTenantId() != rhs.getRequiredTenantId()) {
       return (false);
     }
     if (getRequiredSchemaDefId() != rhs.getRequiredSchemaDefId()) {
       return (false);
     }
     return (true);
   } else {
     return (super.equals(obj));
   }
 }
 public void setBlobTypeBuff(CFBamBlobTypeBuff src) {
   super.setBlobDefBuff(src);
   setRequiredSchemaDefId(src.getRequiredSchemaDefId());
 }