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 ConstantsEnum ConstantDescriptionTheBOOLEANattribute syntax specifies that the attribute is of boolean type, i.e., can have a value of eithertrueorfalseTheDATEattribute syntax specifies that the attribute is of date type.TheDATE_TIMEattribute syntax specifies that the attribute is a date time field.TheDECIMALattribute syntax specifies that the attribute is a decimal value.TheDECIMAL_NUMBERattribute syntax specifies that the attribute is a floating point number, e.g., 1.5, 3.56, etc.TheDECIMAL_RANGEattribute syntax specifies that the attribute is a decimal number within a range.TheDNattribute syntax specifies that the attribute should be an LDAP distinguished name (DN).TheEMAILattribute syntax specifies that the attribute is a email address.TheENCRYPTED PASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.TheJSONattribute syntax specifies that the attribute is of JSON type, i.e., in json formatted string.TheNUMBERattribute syntax specifies that the attribute is a number.TheNUMBER_RANGEattribute syntax specifies that the attribute is a number within a range.TheNUMERICattribute syntax specifies that the attribute is numeric, i.e., can have numbers only.ThePARAGRAPHattribute syntax specifies that the attribute is of multi-lined text type.ThePASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.ThePERCENTattribute syntax specifies that the attribute is a percentage.TheSCRIPTattribute syntax specifies that the attribute is of multi-lined text type and more specifically a script.TheSTRINGattribute syntax specifies that the attribute is of text type, i.e., can have any unicode characters.TheURLattribute syntax specifies that the attribute is a URL.TheXMLattribute 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.SyntaxReturns 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
TheBOOLEANattribute syntax specifies that the attribute is of boolean type, i.e., can have a value of eithertrueorfalse -
EMAIL
TheEMAILattribute syntax specifies that the attribute is a email address. -
URL
TheURLattribute syntax specifies that the attribute is a URL. -
STRING
TheSTRINGattribute syntax specifies that the attribute is of text type, i.e., can have any unicode characters. -
PARAGRAPH
ThePARAGRAPHattribute syntax specifies that the attribute is of multi-lined text type. -
XML
TheXMLattribute syntax specifies that the attribute is of XML type, i.e., can have any unicode characters. -
JSON
TheJSONattribute syntax specifies that the attribute is of JSON type, i.e., in json formatted string. -
SCRIPT
TheSCRIPTattribute syntax specifies that the attribute is of multi-lined text type and more specifically a script. -
PASSWORD
ThePASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed. -
ENCRYPTED_PASSWORD
TheENCRYPTED PASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed. -
DATE
TheDATEattribute syntax specifies that the attribute is of date type. -
NUMERIC
TheNUMERICattribute syntax specifies that the attribute is numeric, i.e., can have numbers only. -
NUMBER
TheNUMBERattribute syntax specifies that the attribute is a number. -
DECIMAL
TheDECIMALattribute syntax specifies that the attribute is a decimal value. -
PERCENT
ThePERCENTattribute syntax specifies that the attribute is a percentage. -
NUMBER_RANGE
TheNUMBER_RANGEattribute syntax specifies that the attribute is a number within a range. -
DECIMAL_RANGE
TheDECIMAL_RANGEattribute syntax specifies that the attribute is a decimal number within a range. -
DECIMAL_NUMBER
TheDECIMAL_NUMBERattribute syntax specifies that the attribute is a floating point number, e.g., 1.5, 3.56, etc. -
DN
TheDNattribute syntax specifies that the attribute should be an LDAP distinguished name (DN). -
DATE_TIME
TheDATE_TIMEattribute 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:
toStringin classEnum<AttributeSchema.Syntax>- Returns:
- String string representation of schema attribute syntax
-