org.domain.rhims.entity
Class Administrator
java.lang.Object
org.domain.rhims.entity.User
org.domain.rhims.entity.Administrator
- All Implemented Interfaces:
- java.io.Serializable
@Name(value="administrator")
public class Administrator
- extends User
The Administrator class is used to represent an Administrator user of
the application. This class is an extension of the User class (the
generic application user).
It is an entity class that is persisted.
Its Seam name is "administrator".
The position field represents the position that the Administrator holds.
- Author:
- Mitch Williams
- See Also:
- Serialized Form
|
Constructor Summary |
Administrator()
Default constructor. |
Administrator(java.lang.String username,
java.lang.String password)
Constructor |
| Methods inherited from class org.domain.rhims.entity.User |
getEmailAddress, getFirstName, getLastName, getPassword, getPhoneNumber, getUserID, getUsername, setEmailAddress, setFirstName, setLastName, setPassword, setPhoneNumber, setUserID, setUsername |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Administrator
public Administrator()
- Default constructor.
Administrator
public Administrator(java.lang.String username,
java.lang.String password)
- Constructor
- Parameters:
username - the username of the Administratorpassword - the password of the Administrator
getPosition
public java.lang.String getPosition()
setPosition
public void setPosition(java.lang.String position)