edu.jhu.tmaj.client.image.data
Class UserPermission
java.lang.Object
edu.jhu.tmaj.client.image.data.UserPermission
- All Implemented Interfaces:
- java.io.Serializable
public final class UserPermission
- extends java.lang.Object
- implements java.io.Serializable
A UserID and a PermissionType (READ OR WRITE).
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UserPermission
public UserPermission(int userID,
char permission)
getUserID
public int getUserID()
getPermissionType
public UserPermission.PermissionType getPermissionType()
getPermissionChar
public char getPermissionChar()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object