public void setDelSubDep1Buff(CFBamDelSubDep1Buff src) { super.setDelDepBuff(src); setRequiredContTenantId(src.getRequiredContTenantId()); setRequiredContDelTopDepId(src.getRequiredContDelTopDepId()); setRequiredName(src.getRequiredName()); }
public boolean equals(Object obj) { if (obj == null) { return (false); } else if (obj instanceof CFBamDelSubDep1HBuff) { CFBamDelSubDep1HBuff rhs = (CFBamDelSubDep1HBuff) obj; if (!super.equals(obj)) { return (false); } if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } if (getRequiredContTenantId() != rhs.getRequiredContTenantId()) { return (false); } if (getRequiredContDelTopDepId() != rhs.getRequiredContDelTopDepId()) { return (false); } if (!getRequiredName().equals(rhs.getRequiredName())) { return (false); } return (true); } else if (obj instanceof CFBamDelSubDep1Buff) { CFBamDelSubDep1Buff rhs = (CFBamDelSubDep1Buff) obj; if (!super.equals(obj)) { return (false); } if (getRequiredTenantId() != rhs.getRequiredTenantId()) { return (false); } if (getRequiredId() != rhs.getRequiredId()) { return (false); } if (getRequiredContTenantId() != rhs.getRequiredContTenantId()) { return (false); } if (getRequiredContDelTopDepId() != rhs.getRequiredContDelTopDepId()) { return (false); } if (!getRequiredName().equals(rhs.getRequiredName())) { return (false); } return (true); } else if (obj instanceof CFBamDelSubDep1ByContDelTopIdxKey) { CFBamDelSubDep1ByContDelTopIdxKey rhs = (CFBamDelSubDep1ByContDelTopIdxKey) obj; if (getRequiredContTenantId() != rhs.getRequiredContTenantId()) { return (false); } if (getRequiredContDelTopDepId() != rhs.getRequiredContDelTopDepId()) { return (false); } return (true); } else if (obj instanceof CFBamDelSubDep1ByUNameIdxKey) { CFBamDelSubDep1ByUNameIdxKey rhs = (CFBamDelSubDep1ByUNameIdxKey) obj; if (getRequiredContTenantId() != rhs.getRequiredContTenantId()) { return (false); } if (getRequiredContDelTopDepId() != rhs.getRequiredContDelTopDepId()) { return (false); } if (!getRequiredName().equals(rhs.getRequiredName())) { return (false); } return (true); } else { return (super.equals(obj)); } }