Class ShadowAssociationsCollection
java.lang.Object
com.evolveum.midpoint.schema.util.ShadowAssociationsCollection
- All Implemented Interfaces:
DebugDumpable
Represents iterable collection of association values either in an item delta, or in a shadow.
For delta, it can concern related either individual associations (i.e., items), or the associations container as a whole.
LIMITATIONS: at the level of the whole associations container, only ADD deltas are supported. No REPLACE nor DELETE.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
cleanup()
debugDump
(int indent) static @NotNull ShadowAssociationsCollection
empty()
int
abstract boolean
boolean
isEmpty()
iterator()
static ShadowAssociationsCollection
ofAssociations
(@NotNull ShadowAssociationsType associations) static ShadowAssociationsCollection
static ShadowAssociationsCollection
ofShadow
(@NotNull ShadowType 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
-
ShadowAssociationsCollection
public ShadowAssociationsCollection()
-
-
Method Details
-
empty
-
ofDelta
public static ShadowAssociationsCollection ofDelta(@NotNull @NotNull ItemDelta<?, ?> itemDelta) throws SchemaException- Throws:
SchemaException
-
ofShadow
-
ofAssociations
public static ShadowAssociationsCollection ofAssociations(@NotNull @NotNull ShadowAssociationsType associations) -
iterator
-
isEmpty
public boolean isEmpty() -
getAllIterableValues
-
getAllAssociationValues
-
getNumberOfValues
public int getNumberOfValues() -
hasReplace
public abstract boolean hasReplace() -
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
cleanup
public abstract void cleanup()
-