Class MultiValuedAttributeValue<M extends MultiValuedAttributeValue<M>>
Object
se.curity.identityserver.sdk.attribute.MapAttributeValue
se.curity.identityserver.sdk.attribute.scim.v2.ComplexAttributeValue<M>
se.curity.identityserver.sdk.attribute.scim.v2.multivalued.MultiValuedAttributeValue<M>
- Type Parameters:
M
-
- All Implemented Interfaces:
Iterable<Attribute>
,AttributeContainer<MapAttributeValue>
,AttributeOrAttributeValue<AttributeValue>
,AttributeValue
,SerializableAsMap
- Direct Known Subclasses:
Address
,Email
,Entitlement
,Group
,InstantMessaging
,PhoneNumber
,Photo
,Role
,X509Certificates
public abstract class MultiValuedAttributeValue<M extends MultiValuedAttributeValue<M>>
extends ComplexAttributeValue<M>
A complex Multi-value attribute.
This AttributeValue
follows the
Multi-value Attributes
design from the SCIM 2.0 specification.
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
AttributeContainer.TypeConversionStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class se.curity.identityserver.sdk.attribute.scim.v2.ComplexAttributeValue
PRIMARY
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MultiValuedAttributeValue
(MapAttributeValue mapAttributeValue) -
Method Summary
Modifier and TypeMethodDescriptiongetRef()
getType()
boolean
Add the given attribute if not present, or replace the attribute if it already exists.withDisplay
(String display) withVerified
(boolean verified) Methods inherited from class se.curity.identityserver.sdk.attribute.scim.v2.ComplexAttributeValue
copyOf, isPrimary
Methods inherited from class se.curity.identityserver.sdk.attribute.MapAttributeValue
append, append, asMap, delete, empty, equals, get, get, getAll, getAttributesByName, getMandatory, getMandatory, getMandatory, getUniqueValuesOfType, getUniqueValuesOfType, getValue, getValuesOfType, getValuesOfType, getValueWithAuthorities, getValueWithMetadata, hashCode, isEmpty, iterator, keys, map, map, map, mapEntries, mapNonRecursive, nullOrOfType, of, of, of, of, removeAttributes, removeNullAttributeValues, retainAttributes, size, stream, toString, with
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
contains, contains, getOptionalValue, getOptionalValue, getOptionalValue, removeAttribute, retainAttribute
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
REF
- See Also:
-
DISPLAY
- See Also:
-
TYPE
- See Also:
-
VALUE
- See Also:
-
TYPE_VERIFIED
- See Also:
-
TYPE_UNVERIFIED
- See Also:
-
-
Constructor Details
-
MultiValuedAttributeValue
-
-
Method Details
-
getRef
-
getDisplay
-
getType
-
getSignificantValue
-
isVerified
public boolean isVerified()- Returns:
true
if this resource has been verified.- Since:
- 10.3.0
- "Implementation Note:"
- this is currently implemented by checking if
getType()
returns the valueTYPE_VERIFIED
.
-
withType
-
withDisplay
-
withRef
-
withVerified
- Parameters:
verified
- whether the attribute has been verified- Returns:
- copy of this value with the verification flag modified
- Since:
- 10.4.0
-
with
Description copied from interface:AttributeContainer
Add the given attribute if not present, or replace the attribute if it already exists. Note that two attributes with the same name and different authorities are considered distinct.- Specified by:
with
in interfaceAttributeContainer<M extends MultiValuedAttributeValue<M>>
- Overrides:
with
in classMapAttributeValue
- Parameters:
attribute
- attribute to add or to override- Returns:
- a copy of this which contains the given Attribute
-