Annotation Type Attribute
-
@Retention(RUNTIME) @Target(FIELD) public @interface Attribute
Annotation used to attach meta information to attributes and subattributes of SCIM resources (descendants of classBaseScimResource).This annotation reflects what is shown in section 2.2 RFC 7643. Default values assigned per section 7.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]canonicalValuesThe canonical values that may appear in an attribute.StringdescriptionThe description of the attribute.booleanisCaseExactDetermines if the attribute value is case sensitive.booleanisRequiredDetermines if the attribute value is required.ClassmultiValueClassIf the attribute is multi-valued, this holds the type of the child object.AttributeDefinition.MutabilitymutabilityThe mutability constraint for the attribute.String[]referenceTypesThe reference types for the attribute.AttributeDefinition.ReturnedreturnedThe return constraint for the attribute.AttributeDefinition.TypetypeThe type of the attribute according to types defined by section 2.3 of RFC 7643AttributeDefinition.UniquenessuniquenessThe uniqueness constraint for the attribute.
-
-
-
-
description
String description
The description of the attribute.- Returns:
- The description of the attribute.
- Default:
- ""
-
-
-
canonicalValues
String[] canonicalValues
The canonical values that may appear in an attribute.- Returns:
- The canonical values that may appear in an attribute as an Array of Strings.
- Default:
- {}
-
-
-
returned
AttributeDefinition.Returned returned
The return constraint for the attribute.- Returns:
- The return constraint for the attribute.
- Default:
- io.jans.scim.model.scim2.AttributeDefinition.Returned.DEFAULT
-
-
-
uniqueness
AttributeDefinition.Uniqueness uniqueness
The uniqueness constraint for the attribute.- Returns:
- The uniqueness constraint for the attribute.
- Default:
- io.jans.scim.model.scim2.AttributeDefinition.Uniqueness.NONE
-
-
-
referenceTypes
String[] referenceTypes
The reference types for the attribute.- Returns:
- The reference types for the attribute as an Array of Strings.
- Default:
- {}
-
-
-
mutability
AttributeDefinition.Mutability mutability
The mutability constraint for the attribute.- Returns:
- The mutability constraint for the attribute.
- Default:
- io.jans.scim.model.scim2.AttributeDefinition.Mutability.READ_WRITE
-
-
-
multiValueClass
Class multiValueClass
If the attribute is multi-valued, this holds the type of the child object.- Returns:
- For a multi-valued attribute, the type of the child object.
- Default:
- javax.lang.model.type.NullType.class
-
-
-
type
AttributeDefinition.Type type
The type of the attribute according to types defined by section 2.3 of RFC 7643- Returns:
- Associated data type
- Default:
- io.jans.scim.model.scim2.AttributeDefinition.Type.STRING
-
-