@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } AttendeeType other = (AttendeeType) obj; return eq(getValue(), other.getValue()); }
/** * Returns whether it has the value. * * @return whether it has the value */ public boolean hasValue() { return getValue() != null; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } AttendeeType other = (AttendeeType) obj; return eq(getValue(), other.getValue()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } AttendeeType other = (AttendeeType) obj; return eq(getValue(), other.getValue()); }