|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.policy.Syntax
public final class Syntax
Provides an enum like support for the syntax of values such as ANY, NONE, LIST, CONSTANT, SINGLE_CHOICE, MULTIPLE_CHOICE In other words, provides access to a set of finite values and enforces new values can not be created by users
Field Summary | |
---|---|
static Syntax |
ANY
value is a free form text, would be typically shown in as editable text field |
static Syntax |
ANY_SEARCHABLE
value is a free form text, could also search from a large set of values |
static Syntax |
CONSTANT
value is a constant string, would be typically shown as non editable text |
static Syntax |
LIST
value is a free form multi list text field |
static Syntax |
MULTIPLE_CHOICE
value is multiple choice from list |
static Syntax |
NONE
no value is allowed |
static Syntax |
SINGLE_CHOICE
value is a single choice from a list |
Method Summary | |
---|---|
boolean |
equals(Object arg)
Checks whether the argument object is equal to this Syntax |
String |
toString()
Returns the string representation of this object. |
Field Detail |
---|
public static final Syntax ANY
public static final Syntax LIST
public static final Syntax ANY_SEARCHABLE
public static final Syntax NONE
public static final Syntax CONSTANT
public static final Syntax SINGLE_CHOICE
public static final Syntax MULTIPLE_CHOICE
Method Detail |
---|
public String toString()
toString
in class Object
public boolean equals(Object arg)
equals
in class Object
arg
- Syntax object for comparison.
true
if the argument object is equal
to this Syntax, else false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |