public class WFRole
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
descriptionMap |
protected java.lang.String |
id |
protected java.util.Map<java.lang.String,java.lang.String> |
nameMap |
static java.lang.String |
REVISION |
Constructor and Description |
---|
WFRole() |
WFRole(WFRole other) |
WFRole(WFRole other,
boolean clone) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Must be implemented with the interface Comparable
Used in different comparator for sorting
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription(java.lang.String lang)
Returns the localized name of this description according the
lang attribute. |
java.util.Map<java.lang.String,java.lang.String> |
getDescriptionMap()
Returns the map of localized description.
|
java.lang.String |
getId() |
java.lang.String |
getName(java.lang.String lang)
Returns the localized name of this role according the
lang attribute. |
java.util.Map<java.lang.String,java.lang.String> |
getNameMap()
Returns the map of localized name.
|
void |
reloadI18N()
Reload all I18N informations for this WFRole.
|
void |
setDescriptionMap(java.util.Map<java.lang.String,java.lang.String> descriptionMap)
Sets the map of localized description.
|
void |
setId(java.lang.String id) |
void |
setNameMap(java.util.Map<java.lang.String,java.lang.String> nameMap)
Sets the map of localized name.
|
java.lang.String |
toString() |
public static final java.lang.String REVISION
protected java.lang.String id
protected java.util.Map<java.lang.String,java.lang.String> nameMap
protected java.util.Map<java.lang.String,java.lang.String> descriptionMap
public WFRole()
public WFRole(WFRole other)
public WFRole(WFRole other, boolean clone)
public void reloadI18N()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String getName(java.lang.String lang)
lang
attribute.lang
- the language.public java.lang.String getDescription(java.lang.String lang)
lang
attribute.lang
- the language.public java.lang.String getId()
public void setId(java.lang.String id)
public java.util.Map<java.lang.String,java.lang.String> getNameMap()
public void setNameMap(java.util.Map<java.lang.String,java.lang.String> nameMap)
nameMap
- the map of localized name.public java.util.Map<java.lang.String,java.lang.String> getDescriptionMap()
public void setDescriptionMap(java.util.Map<java.lang.String,java.lang.String> descriptionMap)
descriptionMap
- the map of localized description.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2001-2010 Jalios SA. All Rights Reserved.