Interface PrismReferenceDelegator
- All Superinterfaces:
Cloneable,ComplexCopyable<Item<PrismReferenceValue,,PrismReferenceDefinition>> DebugDumpable,Freezable,Item<PrismReferenceValue,,PrismReferenceDefinition> Itemable,ItemDelegator<PrismReferenceValue,,PrismReferenceDefinition> ParentVisitable,PathVisitable,PrismReference,PrismVisitable,Revivable,Serializable,Visitable
public interface PrismReferenceDelegator
extends PrismReference, ItemDelegator<PrismReferenceValue,PrismReferenceDefinition>
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRINGFields inherited from interface com.evolveum.midpoint.prism.Item
KEY_NAMESPACE_CONTEXT -
Method Summary
Modifier and TypeMethodDescriptiondefault PrismReferenceclone()Deprecated.default @NotNull PrismReferencecloneComplex(@NotNull CloneStrategy strategy) Complex clone with different cloning strategies.default ReferenceDeltaCreates specific subclass of ItemDelta appropriate for type of item that this definition represents (e.g.default ReferenceDeltacreateDelta(ItemPath path) default PrismReferencedefault StringdebugDump(int indent) delegate()default <IV extends PrismValue,ID extends ItemDefinition<?>>
PartiallyResolvedItem<IV,ID> findPartial(ItemPath path) default <I extends Item<?,?>>
IfindReferencedItem(ItemPath path, Class<I> type) Tries to find referenced path (path starting with object derefence) in-memory.default PrismReferenceValuefindValueByOid(String oid) default StringgetOid()default ReferencableReturns the "real value" (content) of this item: - value contained in PrismPropertyValue - Referencable in PrismReferenceValue - Containerable in PrismContainerValue - Objectable in PrismObjectValue Note that the real value can contain operational items.default @NotNull Collection<Referencable>Returns (potentially empty) collection of "real values".default PolyStringdefault booleanmerge(PrismReferenceValue value) Methods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDelegator
accept, accept, acceptParentVisitor, acceptVisitor, add, add, addAll, addAll, addIgnoringEquivalents, addRespectingMetadataAndCloning, applyDefinition, applyDefinition, applyDefinitionIfMissing, assertDefinitions, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistenceInternal, checkImmutable, checkMutable, clear, contains, contains, debugDump, debugDumpLazily, debugDumpLazily, diff, diff, equals, equals, filterValues, filterYields, find, findValue, findValue, freeze, getAllItems, getAllValues, getAnyValue, getAnyValue, getClonedValues, getDefinition, getDisplayName, getElementName, getHelp, getHighestId, getNamespaceContext, getParent, getPath, getRealValue, getRealValues, getRealValuesArray, getRealValuesOrRawTypes, getUserData, getUserData, getValue, getValues, hasAnyValue, hasCompleteDefinition, hashCode, hashCode, hasNoValues, hasRaw, isEmpty, isImmutable, isIncomplete, isOperational, isRaw, isSingleValue, isSingleValueByDefinition, merge, normalize, recomputeAllValues, remove, remove, removeAll, removeIf, removeRespectingMetadata, replace, replaceAll, revive, setDefinition, setElementName, setIncomplete, setParent, setUserData, size, valuesStreamMethods inherited from interface com.evolveum.midpoint.prism.PrismReference
copy, immutableCopy, mutableCopy, toString
-
Method Details
-
delegate
PrismReference delegate()- Specified by:
delegatein interfaceItemDelegator<PrismReferenceValue,PrismReferenceDefinition>
-
getRealValue
Description copied from interface:ItemReturns the "real value" (content) of this item: - value contained in PrismPropertyValue - Referencable in PrismReferenceValue - Containerable in PrismContainerValue - Objectable in PrismObjectValue Note that the real value can contain operational items. It can also contain container IDs (although they are not considered to be part of the real value). It does not contain information about item element name nor other metadata like origin, definition, etc. (Although e.g. Containerable can be converted back into PrismContainerValue that can be used to retrieve this information.)- Specified by:
getRealValuein interfaceItem<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
getRealValuein interfaceItemDelegator<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
getRealValuein interfacePrismReference
-
getRealValues
Description copied from interface:ItemReturns (potentially empty) collection of "real values". The list itself is detached, freely modifiable. (Note that the values can still embed a parent, e.g., for containers and references.)- Specified by:
getRealValuesin interfaceItem<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
getRealValuesin interfaceItemDelegator<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
getRealValuesin interfacePrismReference- See Also:
-
merge
- Specified by:
mergein interfacePrismReference
-
getOid
- Specified by:
getOidin interfacePrismReference
-
getTargetName
- Specified by:
getTargetNamein interfacePrismReference
-
findValueByOid
- Specified by:
findValueByOidin interfacePrismReference
-
findPartial
default <IV extends PrismValue,ID extends ItemDefinition<?>> PartiallyResolvedItem<IV,ID> findPartial(ItemPath path) - Specified by:
findPartialin interfaceItem<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
findPartialin interfaceItemDelegator<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
findPartialin interfacePrismReference
-
createDelta
Description copied from interface:ItemCreates specific subclass of ItemDelta appropriate for type of item that this definition represents (e.g. PropertyDelta, ContainerDelta, ...)- Specified by:
createDeltain interfaceItem<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
createDeltain interfaceItemDelegator<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
createDeltain interfacePrismReference
-
createDelta
- Specified by:
createDeltain interfaceItem<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
createDeltain interfaceItemDelegator<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
createDeltain interfacePrismReference
-
clone
Deprecated.Description copied from interface:ItemLiteral clone.- Specified by:
clonein interfaceItem<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
clonein interfacePrismReference
-
createImmutableClone
- Specified by:
createImmutableClonein interfaceItem<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
createImmutableClonein interfaceItemDelegator<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
createImmutableClonein interfacePrismReference
-
cloneComplex
Description copied from interface:ItemComplex clone with different cloning strategies.- Specified by:
cloneComplexin interfaceComplexCopyable<Item<PrismReferenceValue,PrismReferenceDefinition>> - Specified by:
cloneComplexin interfaceItem<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
cloneComplexin interfaceItemDelegator<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
cloneComplexin interfacePrismReference- See Also:
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable- Specified by:
debugDumpin interfaceItemDelegator<PrismReferenceValue,PrismReferenceDefinition> - Specified by:
debugDumpin interfacePrismReference
-
findReferencedItem
Description copied from interface:PrismReferenceTries to find referenced path (path starting with object derefence) in-memory. This works only for single-value references, whose value also contains embedded object. The search is performed on embedded object.- Specified by:
findReferencedItemin interfacePrismReference
-