Package com.sun.identity.sm
Enum Class AttributeSchema.Syntax
- All Implemented Interfaces:
Serializable
,Comparable<AttributeSchema.Syntax>
,java.lang.constant.Constable
- Enclosing class:
- AttributeSchema
The class
Syntax
defines the syntax of the schema
attributes and provides static constants for these types. In other words,
this class defines the primitive data types for the schema attributes.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTheBOOLEAN
attribute syntax specifies that the attribute is of boolean type, i.e., can have a value of eithertrue
orfalse
TheDATE
attribute syntax specifies that the attribute is of date type.TheDATE_TIME
attribute syntax specifies that the attribute is a date time field.TheDECIMAL
attribute syntax specifies that the attribute is a decimal value.TheDECIMAL_NUMBER
attribute syntax specifies that the attribute is a floating point number, e.g., 1.5, 3.56, etc.TheDECIMAL_RANGE
attribute syntax specifies that the attribute is a decimal number within a range.TheDN
attribute syntax specifies that the attribute should be an LDAP distinguished name (DN).TheEMAIL
attribute syntax specifies that the attribute is a email address.TheENCRYPTED PASSWORD
attribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.TheJSON
attribute syntax specifies that the attribute is of JSON type, i.e., in json formatted string.TheNUMBER
attribute syntax specifies that the attribute is a number.TheNUMBER_RANGE
attribute syntax specifies that the attribute is a number within a range.TheNUMERIC
attribute syntax specifies that the attribute is numeric, i.e., can have numbers only.ThePARAGRAPH
attribute syntax specifies that the attribute is of multi-lined text type.ThePASSWORD
attribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.ThePERCENT
attribute syntax specifies that the attribute is a percentage.TheSCRIPT
attribute syntax specifies that the attribute is of multi-lined text type and more specifically a script.TheSTRING
attribute syntax specifies that the attribute is of text type, i.e., can have any unicode characters.TheURL
attribute syntax specifies that the attribute is a URL.TheXML
attribute syntax specifies that the attribute is of XML type, i.e., can have any unicode characters. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
The method returns the string representation of the schema attribute syntax.static AttributeSchema.Syntax
Returns the enum constant of this class with the specified name.static AttributeSchema.Syntax[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
TheBOOLEAN
attribute syntax specifies that the attribute is of boolean type, i.e., can have a value of eithertrue
orfalse
-
EMAIL
TheEMAIL
attribute syntax specifies that the attribute is a email address. -
URL
TheURL
attribute syntax specifies that the attribute is a URL. -
STRING
TheSTRING
attribute syntax specifies that the attribute is of text type, i.e., can have any unicode characters. -
PARAGRAPH
ThePARAGRAPH
attribute syntax specifies that the attribute is of multi-lined text type. -
XML
TheXML
attribute syntax specifies that the attribute is of XML type, i.e., can have any unicode characters. -
JSON
TheJSON
attribute syntax specifies that the attribute is of JSON type, i.e., in json formatted string. -
SCRIPT
TheSCRIPT
attribute syntax specifies that the attribute is of multi-lined text type and more specifically a script. -
PASSWORD
ThePASSWORD
attribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed. -
ENCRYPTED_PASSWORD
TheENCRYPTED PASSWORD
attribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed. -
DATE
TheDATE
attribute syntax specifies that the attribute is of date type. -
NUMERIC
TheNUMERIC
attribute syntax specifies that the attribute is numeric, i.e., can have numbers only. -
NUMBER
TheNUMBER
attribute syntax specifies that the attribute is a number. -
DECIMAL
TheDECIMAL
attribute syntax specifies that the attribute is a decimal value. -
PERCENT
ThePERCENT
attribute syntax specifies that the attribute is a percentage. -
NUMBER_RANGE
TheNUMBER_RANGE
attribute syntax specifies that the attribute is a number within a range. -
DECIMAL_RANGE
TheDECIMAL_RANGE
attribute syntax specifies that the attribute is a decimal number within a range. -
DECIMAL_NUMBER
TheDECIMAL_NUMBER
attribute syntax specifies that the attribute is a floating point number, e.g., 1.5, 3.56, etc. -
DN
TheDN
attribute syntax specifies that the attribute should be an LDAP distinguished name (DN). -
DATE_TIME
TheDATE_TIME
attribute syntax specifies that the attribute is a date time field.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
The method returns the string representation of the schema attribute syntax.- Overrides:
toString
in classEnum<AttributeSchema.Syntax>
- Returns:
- String string representation of schema attribute syntax
-