Methods Summary |
---|
public boolean | equals(java.lang.Object obj)
if (!(obj instanceof Employee)) {
return false;
} else {
return (((Employee)obj).getEmployeeID().equals(this.employeeID));
}
|
public java.lang.String | getEmployeeID()Getter for property employeeID.
return employeeID;
|
public Person | getPerson()Getter for property person.
return person;
|
public int | hashCode()
return this.employeeID.hashCode();
|
public void | setEmployeeID(java.lang.String employeeID)Setter for property employeeID.
EMPLOYEE_ID_CONSTRAINT.validate(employeeID);
final String oldEmployeeId = this.employeeID;
this.employeeID = employeeID;
propertyChangeSupport.firePropertyChange("employeeID", oldEmployeeId,
this.employeeID);
|
public void | setPerson(Person person)Setter for property person.
PERSON_CONSTRAINT.validate(person);
final Person oldPerson = this.person;
this.person = person;
propertyChangeSupport.firePropertyChange("person", oldPerson, this.person);
|