|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.WFRole
public class WFRole
This class represent a Role. A role is a list of members and a list of weighted group.
Field Summary | |
---|---|
protected Map<String,String> |
descriptionMap
|
protected String |
id
|
protected Map<String,String> |
nameMap
|
static String |
REVISION
|
Constructor Summary | |
---|---|
WFRole()
|
|
WFRole(WFRole other)
|
|
WFRole(WFRole other,
boolean clone)
|
Method Summary | |
---|---|
int |
compareTo(Object o)
Must be implemented with the interface Comparable Used in different comparator for sorting |
boolean |
equals(Object obj)
|
String |
getDescription(String lang)
Returns the localized name of this description according the lang attribute. |
Map<String,String> |
getDescriptionMap()
Returns the map of localized description. |
String |
getId()
|
String |
getName(String lang)
Returns the localized name of this role according the lang attribute. |
Map<String,String> |
getNameMap()
Returns the map of localized name. |
void |
setDescriptionMap(Map<String,String> descriptionMap)
Sets the map of localized description. |
void |
setId(String id)
|
void |
setNameMap(Map<String,String> nameMap)
Sets the map of localized name. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
protected String id
protected Map<String,String> nameMap
protected Map<String,String> descriptionMap
Constructor Detail |
---|
public WFRole()
public WFRole(WFRole other)
public WFRole(WFRole other, boolean clone)
Method Detail |
---|
public String toString()
toString
in class Object
public int compareTo(Object o)
compareTo
in interface Comparable
public String getName(String lang)
lang
attribute.
lang
- the language.
public String getDescription(String lang)
lang
attribute.
lang
- the language.
public String getId()
public void setId(String id)
public Map<String,String> getNameMap()
public void setNameMap(Map<String,String> nameMap)
nameMap
- the map of localized name.public Map<String,String> getDescriptionMap()
public void setDescriptionMap(Map<String,String> descriptionMap)
descriptionMap
- the map of localized description.public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |