Class ShadowReferenceAttributesCollection
java.lang.Object
com.evolveum.midpoint.schema.util.ShadowReferenceAttributesCollection
- All Implemented Interfaces:
DebugDumpable
Represents iterable collection of attribute values either in an item delta, or in a shadow.
For delta, it can concern related either individual attributes (i.e., items), or the attributes container as a whole.
LIMITATIONS: at the level of the whole attributes container, only ADD deltas are supported. No REPLACE nor DELETE.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
cleanup()
debugDump
(int indent) static @NotNull ShadowReferenceAttributesCollection
empty()
int
abstract boolean
boolean
isEmpty()
iterator()
ofAssociationValue
(@NotNull ShadowAssociationValue assocValue) Returns all reference attributes of given association value - i.e.ofObjectDelta
(@Nullable ObjectDelta<ShadowType> objectDelta) ofShadow
(@NotNull ShadowType shadow) Returns all reference attributes of given shadow.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
ShadowReferenceAttributesCollection
public ShadowReferenceAttributesCollection()
-
-
Method Details
-
empty
-
ofDelta
public static ShadowReferenceAttributesCollection ofDelta(@NotNull @NotNull ItemDelta<?, ?> itemDelta) -
ofObjectDelta
public static ShadowReferenceAttributesCollection ofObjectDelta(@Nullable @Nullable ObjectDelta<ShadowType> objectDelta) -
ofShadow
Returns all reference attributes of given shadow. -
ofAssociationValue
public static ShadowReferenceAttributesCollection ofAssociationValue(@NotNull @NotNull ShadowAssociationValue assocValue) Returns all reference attributes of given association value - i.e. everything in "objects" container. -
iterator
public abstract Iterator<ShadowReferenceAttributesCollection.IterableReferenceAttributeValue> iterator() -
valuesIterator
-
valuesIterable
-
isEmpty
public boolean isEmpty() -
getAllIterableValues
public List<ShadowReferenceAttributesCollection.IterableReferenceAttributeValue> getAllIterableValues() -
getAllReferenceValues
-
getNumberOfValues
public int getNumberOfValues() -
hasReplace
public abstract boolean hasReplace() -
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
cleanup
public abstract void cleanup()
-