Package com.sun.identity.sm
Class AttributeSchema.Syntax
- java.lang.Object
-
- com.sun.identity.sm.AttributeSchema.Syntax
-
- Enclosing class:
- AttributeSchema
public static class AttributeSchema.Syntax extends Object
The classSyntaxdefines 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.
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeSchema.SyntaxBOOLEANTheBOOLEANattribute syntax specifies that the attribute is of boolean type, i.e., can have a value of eithertrueorfalsestatic AttributeSchema.SyntaxDATETheDATEattribute syntax specifies that the attribute is of date type.static AttributeSchema.SyntaxDECIMALTheDECIMALattribute syntax specifies that the attribute is a decimal value.static AttributeSchema.SyntaxDECIMAL_NUMBERTheDECIMAL_NUMBERattribute syntax specifies that the attribute is a floating point number, e.g., 1.5, 3.56, etc.static AttributeSchema.SyntaxDECIMAL_RANGETheDECIMAL_RANGEattribute syntax specifies that the attribute is a decimal number within a range.static AttributeSchema.SyntaxDNTheDNattribute syntax specifies that the attribute should be an LDAP distinguished name (DN).static AttributeSchema.SyntaxEMAILTheEMAILattribute syntax specifies that the attribute is a email address.static AttributeSchema.SyntaxENCRYPTED_PASSWORDTheENCRYPTED PASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.static AttributeSchema.SyntaxNUMBERTheNUMBERattribute syntax specifies that the attribute is a number.static AttributeSchema.SyntaxNUMBER_RANGETheNUMBER_RANGEattribute syntax specifies that the attribute is a number within a range.static AttributeSchema.SyntaxNUMERICTheNUMERICattribute syntax specifies that the attribute is numeric, i.e., can have numbers only.static AttributeSchema.SyntaxPARAGRAPHThePARAGRAPHattribute syntax specifies that the attribute is of multi-lined text type.static AttributeSchema.SyntaxPASSWORDThePASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.static AttributeSchema.SyntaxPERCENTThePERCENTattribute syntax specifies that the attribute is a percentage.static AttributeSchema.SyntaxSCRIPTTheSCRIPTattribute syntax specifies that the attribute is of multi-lined text type and more specifically a script.static AttributeSchema.SyntaxSTRINGTheSTRINGattribute syntax specifies that the attribute is of text type, i.e., can have any unicode characters.static AttributeSchema.SyntaxURLTheURLattribute syntax specifies that the attribute is a URL.static AttributeSchema.SyntaxXMLTheXMLattribute syntax specifies that the attribute is of XML type, i.e., can have any unicode characters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object schemaAttrSyntax)Method to check if two schema attribute syntax are equal.inthashCode()Returns a hash code value for the object.StringtoString()The method returns the string representation of the schema attribute syntax.
-
-
-
Field Detail
-
BOOLEAN
public static final AttributeSchema.Syntax BOOLEAN
TheBOOLEANattribute syntax specifies that the attribute is of boolean type, i.e., can have a value of eithertrueorfalse
-
EMAIL
public static final AttributeSchema.Syntax EMAIL
TheEMAILattribute syntax specifies that the attribute is a email address.
-
URL
public static final AttributeSchema.Syntax URL
TheURLattribute syntax specifies that the attribute is a URL.
-
STRING
public static final AttributeSchema.Syntax STRING
TheSTRINGattribute syntax specifies that the attribute is of text type, i.e., can have any unicode characters.
-
PARAGRAPH
public static final AttributeSchema.Syntax PARAGRAPH
ThePARAGRAPHattribute syntax specifies that the attribute is of multi-lined text type.
-
XML
public static final AttributeSchema.Syntax XML
TheXMLattribute syntax specifies that the attribute is of XML type, i.e., can have any unicode characters.
-
SCRIPT
public static final AttributeSchema.Syntax SCRIPT
TheSCRIPTattribute syntax specifies that the attribute is of multi-lined text type and more specifically a script.
-
PASSWORD
public static final AttributeSchema.Syntax PASSWORD
ThePASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.
-
ENCRYPTED_PASSWORD
public static final AttributeSchema.Syntax ENCRYPTED_PASSWORD
TheENCRYPTED PASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.
-
DATE
public static final AttributeSchema.Syntax DATE
TheDATEattribute syntax specifies that the attribute is of date type.
-
NUMERIC
public static final AttributeSchema.Syntax NUMERIC
TheNUMERICattribute syntax specifies that the attribute is numeric, i.e., can have numbers only.
-
NUMBER
public static final AttributeSchema.Syntax NUMBER
TheNUMBERattribute syntax specifies that the attribute is a number.
-
DECIMAL
public static final AttributeSchema.Syntax DECIMAL
TheDECIMALattribute syntax specifies that the attribute is a decimal value.
-
PERCENT
public static final AttributeSchema.Syntax PERCENT
ThePERCENTattribute syntax specifies that the attribute is a percentage.
-
NUMBER_RANGE
public static final AttributeSchema.Syntax NUMBER_RANGE
TheNUMBER_RANGEattribute syntax specifies that the attribute is a number within a range.
-
DECIMAL_RANGE
public static final AttributeSchema.Syntax DECIMAL_RANGE
TheDECIMAL_RANGEattribute syntax specifies that the attribute is a decimal number within a range.
-
DECIMAL_NUMBER
public static final AttributeSchema.Syntax DECIMAL_NUMBER
TheDECIMAL_NUMBERattribute syntax specifies that the attribute is a floating point number, e.g., 1.5, 3.56, etc.
-
DN
public static final AttributeSchema.Syntax DN
TheDNattribute syntax specifies that the attribute should be an LDAP distinguished name (DN).
-
-