|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.apelon.dts.client.attribute.RoleModifier
public final class RoleModifier
RoleModifer is a convenience class of globally accessible
constants that define the role modifiers. This allows the API programmer to
avoid having strings like "all" and "some" all over the code. Methods exist
for converting from/to constants and strings in order to support GUIs, etc.
DTS currently supports ALL and SOME for logical modifiers.
Copyright: Copyright (c) 2004
Company: Apelon, Inc.
| Field Summary | |
|---|---|
static RoleModifier |
ALL
The ALL modifier for DTSRoles |
static RoleModifier |
ALLNOT
The @ToDo modifier for DTSRoles |
static RoleModifier |
ALLOR
The @ToDo modifier for DTSRoles |
static RoleModifier |
NOTALL
The @ToDo modifier for DTSRoles |
static RoleModifier |
NOTSOME
The @ToDo modifier for DTSRoles |
static RoleModifier |
POSS
The POSSible modifier for DTSRoles |
static RoleModifier |
SOME
The SOME modifier for DTSRoles |
static RoleModifier |
SOMENOT
The @ToDo modifier for DTSRoles |
static RoleModifier |
SOMEOR
The @ToDo modifier for DTSRoles |
| Method Summary | |
|---|---|
int |
getId()
Retrieves the ID. |
String |
getName()
Retrieves the lowercase name of this modifier (.e.g. |
static RoleModifier |
toConstant(String name)
Converts a string to a RoleModifer, if possible. |
String |
toString()
Returns the name of the modifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final RoleModifier ALL
DTSRoles
public static final RoleModifier SOME
DTSRoles
public static final RoleModifier POSS
DTSRoles
public static final RoleModifier NOTALL
DTSRoles
public static final RoleModifier NOTSOME
DTSRoles
public static final RoleModifier SOMENOT
DTSRoles
public static final RoleModifier ALLNOT
DTSRoles
public static final RoleModifier SOMEOR
DTSRoles
public static final RoleModifier ALLOR
DTSRoles
| Method Detail |
|---|
public String getName()
public int getId()
public String toString()
toString in class Objectpublic static RoleModifier toConstant(String name)
RoleModifer, if possible.
RoleModifer which matches this name or null if
there is no match.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||