com.fatwire.cs.ui.model.bo
Class Role
java.lang.Object
com.fatwire.cs.ui.model.bo.Role
public class Role
- extends java.lang.Object
Constructor Summary |
Role(java.lang.String roleType)
Creates role with passed role type |
Method Summary |
boolean |
equals(java.lang.Object obj)
same Role s if same ref or same role type |
java.lang.Long |
getId()
|
java.lang.String |
getRoleType()
returns this Role type |
void |
setId(java.lang.Long id)
|
void |
setRoleType(java.lang.String roleType)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Role
public Role(java.lang.String roleType)
- Creates role with passed role type
- Parameters:
roleType
- The unique role type String
getRoleType
public java.lang.String getRoleType()
- returns this
Role
type
equals
public boolean equals(java.lang.Object obj)
- same
Role
s if same ref or same role type
- Overrides:
equals
in class java.lang.Object
setRoleType
public void setRoleType(java.lang.String roleType)
setId
public void setId(java.lang.Long id)
getId
public java.lang.Long getId()
Copyright (c) 2003 - 2011 FatWire Corporation All Rights Reserved.