Class ComplexAttributeValue<T extends ComplexAttributeValue>
Object
se.curity.identityserver.sdk.attribute.MapAttributeValue
se.curity.identityserver.sdk.attribute.scim.v2.ComplexAttributeValue<T>
- All Implemented Interfaces:
Iterable<Attribute>,AttributeContainer<MapAttributeValue>,AttributeOrAttributeValue<AttributeValue>,AttributeValue
- Direct Known Subclasses:
Device,LinkedAccount,MultiValuedAttributeValue
public abstract class ComplexAttributeValue<T extends ComplexAttributeValue>
extends MapAttributeValue
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TcopyOf(MapAttributeValue mapAttributeValue) Copies the provided map attribute value.booleanFlag to say if this attribute should be seen as the primary used one.Methods inherited from class se.curity.identityserver.sdk.attribute.MapAttributeValue
append, append, delete, equals, get, get, getAll, getAttributesByName, getMandatory, getValue, getValueWithAuthorities, getValueWithMetadata, hashCode, isEmpty, iterator, keys, map, map, map, mapEntries, mapNonRecursive, nullOrOfType, of, of, of, removeAttributes, removeNullAttributeValues, retainAttributes, size, stream, toString, with, withMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
contains, contains, getOptionalValue, getOptionalValue, removeAttribute, retainAttributeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
PRIMARY
- See Also:
-
-
Constructor Details
-
ComplexAttributeValue
-
-
Method Details
-
copyOf
Copies the provided map attribute value.- Parameters:
mapAttributeValue- The map attribute value to copy- Returns:
- A copy of the map attribute value
-
isPrimary
public boolean isPrimary()Flag to say if this attribute should be seen as the primary used one.- Returns:
- true if the attribute with name PRIMARY exists and is set to true, false otherwise
-