|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 DTSRole s |
static RoleModifier |
ALLNOT
The @ToDo modifier for DTSRole s |
static RoleModifier |
ALLOR
The @ToDo modifier for DTSRole s |
static RoleModifier |
NOTALL
The @ToDo modifier for DTSRole s |
static RoleModifier |
NOTSOME
The @ToDo modifier for DTSRole s |
static RoleModifier |
POSS
The POSSible modifier for DTSRole s |
static RoleModifier |
SOME
The SOME modifier for DTSRole s |
static RoleModifier |
SOMENOT
The @ToDo modifier for DTSRole s |
static RoleModifier |
SOMEOR
The @ToDo modifier for DTSRole s |
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
DTSRole
s
public static final RoleModifier SOME
DTSRole
s
public static final RoleModifier POSS
DTSRole
s
public static final RoleModifier NOTALL
DTSRole
s
public static final RoleModifier NOTSOME
DTSRole
s
public static final RoleModifier SOMENOT
DTSRole
s
public static final RoleModifier ALLNOT
DTSRole
s
public static final RoleModifier SOMEOR
DTSRole
s
public static final RoleModifier ALLOR
DTSRole
s
Method Detail |
---|
public String getName()
public int getId()
public String toString()
toString
in class Object
public 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 |