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 SummaryNested ClassesModifier and TypeClassDescriptionstatic final record
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidcleanup()debugDump(int indent) static @NotNull ShadowReferenceAttributesCollectionempty()intabstract booleanbooleanisEmpty()iterator()ofAssociationValue(@NotNull ShadowAssociationValue assocValue) Returns all reference attributes of given association value - i.e. everything in "objects" container.ofObjectDelta(@Nullable ObjectDelta<ShadowType> objectDelta) ofShadow(@NotNull ShadowType shadow) Returns all reference attributes of given shadow.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Constructor Details- 
ShadowReferenceAttributesCollectionpublic ShadowReferenceAttributesCollection()
 
- 
- 
Method Details- 
empty
- 
ofDeltapublic static ShadowReferenceAttributesCollection ofDelta(@NotNull @NotNull ItemDelta<?, ?> itemDelta) 
- 
ofObjectDeltapublic static ShadowReferenceAttributesCollection ofObjectDelta(@Nullable @Nullable ObjectDelta<ShadowType> objectDelta) 
- 
ofShadowReturns all reference attributes of given shadow.
- 
ofAssociationValuepublic static ShadowReferenceAttributesCollection ofAssociationValue(@NotNull @NotNull ShadowAssociationValue assocValue) Returns all reference attributes of given association value - i.e. everything in "objects" container.
- 
iteratorpublic abstract Iterator<ShadowReferenceAttributesCollection.IterableReferenceAttributeValue> iterator()
- 
valuesIterator
- 
valuesIterable
- 
isEmptypublic boolean isEmpty()
- 
getAllIterableValuespublic List<ShadowReferenceAttributesCollection.IterableReferenceAttributeValue> getAllIterableValues()
- 
getAllReferenceValues
- 
getNumberOfValuespublic int getNumberOfValues()
- 
hasReplacepublic abstract boolean hasReplace()
- 
debugDump- Specified by:
- debugDumpin interface- DebugDumpable
 
- 
cleanuppublic abstract void cleanup()
 
-