|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.EnumeratedType
wt.fc.DynamicEnumType
wt.project.Role
public class Role
Role is a specialization of EnumeratedType to provide localizable
role names The localized values for roles are maintained in a resource
bundle RoleRB, and its locale derivatives
Submitter and Promoter are required roles for life cycle services.
Supported API: true
Extendable: false
EnumeratedType,
wt.project.RoleRB,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface wt.meta.EnumeratedType |
|---|
DEFAULT_VALUE, ORDER, SELECTABLE |
| Method Summary | |
|---|---|
static Role |
getRoleDefault()
Returns the default value (instance) for the Role set. |
static Role[] |
getRoleSet()
Returns a copy of the set of valid values (instances) for the Role class. |
EnumeratedType[] |
getValueSet()
Returns a copy of the set of valid values (instances) for this instance, for the current user locale. |
static Role |
toRole(String internal_value)
Returns the Role instance for the internal_value argument. |
| Methods inherited from class wt.fc.DynamicEnumType |
|---|
getDisplay |
| Methods inherited from class wt.fc.EnumeratedType |
|---|
equals, getAbbreviatedDisplay, getDisplay, getFullDisplay, getLocalizedMessage, getLongDescription, getOrder, getSelectableValueSet, getShortDescription, getStringValue, getStringValue, hashCode, isDefaultValue, isDefaultValue, isSelectable, main, toEnumeratedType, toEnumeratedType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static Role toRole(String internal_value)
throws WTInvalidParameterException
internal_value - The internal (persistent) value for a valid instance of Role.
WTInvalidParameterExceptionpublic static Role getRoleDefault()
public static Role[] getRoleSet()
public EnumeratedType[] getValueSet()
getValueSet in class EnumeratedType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||