Class AMDisplayType
- java.lang.Object
-
- com.sun.identity.console.base.model.AMDisplayType
-
public class AMDisplayType extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_SYNTAXstatic intDEFAULT_TYPEstatic intNONE_SYNTAXstatic intSYNTAX_BOOLEANstatic intSYNTAX_BUTTONstatic intSYNTAX_ENCRYPTED_PASSWORDstatic intSYNTAX_LINKstatic intSYNTAX_LISTstatic intSYNTAX_MULTIPLE_CHOICEstatic intSYNTAX_NAME_VALUE_LISTstatic intSYNTAX_PARAGRAPHstatic intSYNTAX_PASSWORDstatic intSYNTAX_RADIOstatic intSYNTAX_SINGLE_CHOICEstatic intSYNTAX_TEXTstatic intSYNTAX_TEXTFIELDstatic intTYPE_LISTstatic intTYPE_MULTIPLE_CHOICEstatic intTYPE_SINGLEstatic intTYPE_SINGLE_CHOICEstatic intUNDEFINED_SYNTAX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetDisplaySyntax(ActionSchema actionSchema)Returns display syntax of an action schema.static intgetDisplaySyntax(Syntax syntax)Returns display syntax of an action schema.static intgetDisplaySyntax(AttributeSchema.Syntax syntax)Returns display syntax of an action schema.static intgetDisplayType(ActionSchema actionSchema)Returns display type of an action schema.static AMDisplayTypegetInstance()
-
-
-
Field Detail
-
UNDEFINED_SYNTAX
public static final int UNDEFINED_SYNTAX
- See Also:
- Constant Field Values
-
NONE_SYNTAX
public static final int NONE_SYNTAX
- See Also:
- Constant Field Values
-
SYNTAX_TEXT
public static final int SYNTAX_TEXT
- See Also:
- Constant Field Values
-
SYNTAX_BOOLEAN
public static final int SYNTAX_BOOLEAN
- See Also:
- Constant Field Values
-
SYNTAX_TEXTFIELD
public static final int SYNTAX_TEXTFIELD
- See Also:
- Constant Field Values
-
SYNTAX_PASSWORD
public static final int SYNTAX_PASSWORD
- See Also:
- Constant Field Values
-
SYNTAX_ENCRYPTED_PASSWORD
public static final int SYNTAX_ENCRYPTED_PASSWORD
- See Also:
- Constant Field Values
-
SYNTAX_PARAGRAPH
public static final int SYNTAX_PARAGRAPH
- See Also:
- Constant Field Values
-
SYNTAX_RADIO
public static final int SYNTAX_RADIO
- See Also:
- Constant Field Values
-
SYNTAX_LINK
public static final int SYNTAX_LINK
- See Also:
- Constant Field Values
-
SYNTAX_BUTTON
public static final int SYNTAX_BUTTON
- See Also:
- Constant Field Values
-
SYNTAX_NAME_VALUE_LIST
public static final int SYNTAX_NAME_VALUE_LIST
- See Also:
- Constant Field Values
-
SYNTAX_SINGLE_CHOICE
public static final int SYNTAX_SINGLE_CHOICE
- See Also:
- Constant Field Values
-
SYNTAX_MULTIPLE_CHOICE
public static final int SYNTAX_MULTIPLE_CHOICE
- See Also:
- Constant Field Values
-
SYNTAX_LIST
public static final int SYNTAX_LIST
- See Also:
- Constant Field Values
-
DEFAULT_SYNTAX
public static final int DEFAULT_SYNTAX
- See Also:
- Constant Field Values
-
TYPE_SINGLE
public static final int TYPE_SINGLE
- See Also:
- Constant Field Values
-
TYPE_SINGLE_CHOICE
public static final int TYPE_SINGLE_CHOICE
- See Also:
- Constant Field Values
-
TYPE_MULTIPLE_CHOICE
public static final int TYPE_MULTIPLE_CHOICE
- See Also:
- Constant Field Values
-
TYPE_LIST
public static final int TYPE_LIST
- See Also:
- Constant Field Values
-
DEFAULT_TYPE
public static final int DEFAULT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static AMDisplayType getInstance()
-
getDisplayType
public static int getDisplayType(ActionSchema actionSchema)
Returns display type of an action schema.- Parameters:
actionSchema- Action schema- Returns:
- display syntax of an action schema.
-
getDisplaySyntax
public static int getDisplaySyntax(ActionSchema actionSchema)
Returns display syntax of an action schema.- Parameters:
actionSchema- Action schema- Returns:
- display syntax of an action schema.
-
getDisplaySyntax
public static int getDisplaySyntax(AttributeSchema.Syntax syntax)
Returns display syntax of an action schema.- Parameters:
syntax- SM Based Syntax- Returns:
- display syntax of an action schema.
-
getDisplaySyntax
public static int getDisplaySyntax(Syntax syntax)
Returns display syntax of an action schema.- Parameters:
syntax- Policy Based Syntax- Returns:
- display syntax of an action schema.
-
-