public boolean equals(Object obj) { if (obj == null) { return (false); } else if (obj instanceof CFBamPopSubDep1Buff) { CFBamPopSubDep1Buff rhs = (CFBamPopSubDep1Buff) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } if (getRequiredContTenantId() != rhs.getRequiredContTenantId()) { return (false); } if (getRequiredContPopTopDepId() != rhs.getRequiredContPopTopDepId()) { return (false); } if (!getRequiredName().equals(rhs.getRequiredName())) { return (false); } return (true); } else if (obj instanceof CFBamScopePKey) { CFBamScopePKey rhs = (CFBamScopePKey) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else if (obj instanceof CFBamPopSubDep1HBuff) { CFBamPopSubDep1HBuff rhs = (CFBamPopSubDep1HBuff) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } if (getRequiredContTenantId() != rhs.getRequiredContTenantId()) { return (false); } if (getRequiredContPopTopDepId() != rhs.getRequiredContPopTopDepId()) { return (false); } if (!getRequiredName().equals(rhs.getRequiredName())) { return (false); } return (true); } else if (obj instanceof CFBamScopeHPKey) { CFBamScopeHPKey rhs = (CFBamScopeHPKey) obj; if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } return (true); } else if (obj instanceof CFBamPopSubDep1ByContPopTopIdxKey) { CFBamPopSubDep1ByContPopTopIdxKey rhs = (CFBamPopSubDep1ByContPopTopIdxKey) obj; if (getRequiredContTenantId() != rhs.getRequiredContTenantId()) { return (false); } if (getRequiredContPopTopDepId() != rhs.getRequiredContPopTopDepId()) { return (false); } return (true); } else if (obj instanceof CFBamPopSubDep1ByUNameIdxKey) { CFBamPopSubDep1ByUNameIdxKey rhs = (CFBamPopSubDep1ByUNameIdxKey) obj; if (getRequiredContTenantId() != rhs.getRequiredContTenantId()) { return (false); } if (getRequiredContPopTopDepId() != rhs.getRequiredContPopTopDepId()) { return (false); } if (!getRequiredName().equals(rhs.getRequiredName())) { return (false); } return (true); } else { boolean retval = super.equals(obj); return (retval); } }