Package com.sun.identity.sm
Class AttributeSchema.Type
- java.lang.Object
-
- com.sun.identity.sm.AttributeSchema.Type
-
- Enclosing class:
- AttributeSchema
public static class AttributeSchema.Type extends Object
The classTypedefines the types of schema attributes and provides static constants for these types. This could also be viewed as a higher level structured data types like Set, List, etc. The primitive data types are defined bySyntax. Currently defined schema attribute types areSINGLE,LIST,SINGLE_CHOICE,MULTIPLE_CHOICE,SIGNATUREandVALIDATOR.
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeSchema.TypeLISTTheLISTattribute type specifies that the attribute can have multiple values, i.e., multi-valued attribute.static AttributeSchema.TypeMULTIPLE_CHOICETheMULTIPLE_CHOICEattribute type specifies that the attribute can have multiple values defined by thegetChoiceValuesmethod ofAttributeSchema.static AttributeSchema.TypeSIGNATURETheSIGNATUREattribute type specifies that the attribute is a signing attribute.static AttributeSchema.TypeSINGLETheSINGLEattribute type specifies that the attribute can have only a single value.static AttributeSchema.TypeSINGLE_CHOICETheSINGLE_CHOICEattribute type specifies that the attribute can have value defined by thegetChoiceValuesmethod ofAttributeSchema.static AttributeSchema.TypeVALIDATORTheVALIDATORattribute type specifies that the attribute defines a attribute validator plugin.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object schemaAttrType)Method to check if two schema attribute types are equal.inthashCode()Returns a hash code value for the object.StringtoString()The method returns the string representation of the schema attribute type.
-
-
-
Field Detail
-
SINGLE
public static final AttributeSchema.Type SINGLE
TheSINGLEattribute type specifies that the attribute can have only a single value.
-
LIST
public static final AttributeSchema.Type LIST
TheLISTattribute type specifies that the attribute can have multiple values, i.e., multi-valued attribute.
-
SINGLE_CHOICE
public static final AttributeSchema.Type SINGLE_CHOICE
TheSINGLE_CHOICEattribute type specifies that the attribute can have value defined by thegetChoiceValuesmethod ofAttributeSchema.
-
MULTIPLE_CHOICE
public static final AttributeSchema.Type MULTIPLE_CHOICE
TheMULTIPLE_CHOICEattribute type specifies that the attribute can have multiple values defined by thegetChoiceValuesmethod ofAttributeSchema.
-
SIGNATURE
public static final AttributeSchema.Type SIGNATURE
TheSIGNATUREattribute type specifies that the attribute is a signing attribute.
-
VALIDATOR
public static final AttributeSchema.Type VALIDATOR
TheVALIDATORattribute type specifies that the attribute defines a attribute validator plugin.
-
-