@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } NameSuffix other = (NameSuffix) obj; return eq(getValue(), other.getValue()); }
/** * Constructs a new instance with the given value. * * @param value value. */ public NameSuffix(String value) { this(); setValue(value); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } NameSuffix other = (NameSuffix) obj; return eq(getValue(), other.getValue()); }
/** * Constructs a new instance with the given value. * * @param value value. */ public NameSuffix(String value) { this(); setValue(value); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } NameSuffix other = (NameSuffix) obj; return eq(getValue(), other.getValue()); }
/** * Constructs a new instance with the given value. * * @param value value. */ public NameSuffix(String value) { this(); setValue(value); }