public void setPopSubDep3Buff(CFBamPopSubDep3Buff src) { super.setPopDepBuff(src); setRequiredContTenantId(src.getRequiredContTenantId()); setRequiredContPopDep2Id(src.getRequiredContPopDep2Id()); setRequiredName(src.getRequiredName()); }
public boolean equals(Object obj) { if (obj == null) { return (false); } else if (obj instanceof CFBamPopSubDep3HBuff) { CFBamPopSubDep3HBuff rhs = (CFBamPopSubDep3HBuff) 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 (getRequiredContPopDep2Id() != rhs.getRequiredContPopDep2Id()) { return (false); } if (!getRequiredName().equals(rhs.getRequiredName())) { return (false); } return (true); } else if (obj instanceof CFBamPopSubDep3Buff) { CFBamPopSubDep3Buff rhs = (CFBamPopSubDep3Buff) 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 (getRequiredContPopDep2Id() != rhs.getRequiredContPopDep2Id()) { return (false); } if (!getRequiredName().equals(rhs.getRequiredName())) { return (false); } return (true); } else if (obj instanceof CFBamPopSubDep3ByContPopDep2IdxKey) { CFBamPopSubDep3ByContPopDep2IdxKey rhs = (CFBamPopSubDep3ByContPopDep2IdxKey) obj; if (getRequiredContTenantId() != rhs.getRequiredContTenantId()) { return (false); } if (getRequiredContPopDep2Id() != rhs.getRequiredContPopDep2Id()) { return (false); } return (true); } else if (obj instanceof CFBamPopSubDep3ByUNameIdxKey) { CFBamPopSubDep3ByUNameIdxKey rhs = (CFBamPopSubDep3ByUNameIdxKey) obj; if (getRequiredContTenantId() != rhs.getRequiredContTenantId()) { return (false); } if (getRequiredContPopDep2Id() != rhs.getRequiredContPopDep2Id()) { return (false); } if (!getRequiredName().equals(rhs.getRequiredName())) { return (false); } return (true); } else { return (super.equals(obj)); } }