com.sun.identity.policy
クラス Syntax

java.lang.Object
  上位を拡張 com.sun.identity.policy.Syntax

public final class Syntax
extends Object

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


フィールドの概要
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
 
メソッドの概要
 boolean equals(Object arg)
          Checks whether the argument object is equal to this Syntax
 String toString()
          Returns the string representation of this object.
 

フィールドの詳細

ANY

public static final Syntax ANY
value is a free form text, would be typically shown in as editable text field


LIST

public static final Syntax LIST
value is a free form multi list text field


ANY_SEARCHABLE

public static final Syntax ANY_SEARCHABLE
value is a free form text, could also search from a large set of values


NONE

public static final Syntax NONE
no value is allowed


CONSTANT

public static final Syntax CONSTANT
value is a constant string, would be typically shown as non editable text


SINGLE_CHOICE

public static final Syntax SINGLE_CHOICE
value is a single choice from a list


MULTIPLE_CHOICE

public static final Syntax MULTIPLE_CHOICE
value is multiple choice from list

メソッドの詳細

toString

public String toString()
Returns the string representation of this object.

オーバーライド:
クラス Object 内の toString
戻り値:
string representation of this Syntax

equals

public boolean equals(Object arg)
Checks whether the argument object is equal to this Syntax

オーバーライド:
クラス Object 内の equals
パラメータ:
arg - Syntax object for comparison.
戻り値:
true if the argument object is equal to this Syntax, else false