Package com.evolveum.midpoint.prism
Interface PrismReference
- All Superinterfaces:
- DebugDumpable,- Freezable,- Item<PrismReferenceValue,,- PrismReferenceDefinition> - Itemable,- ParentVisitable,- PathVisitable,- PrismContextSensitive,- Revivable,- Serializable,- Visitable
Object Reference is a property that describes reference to an object. It is
 used to represent association between objects. For example reference from
 User object to Account objects that belong to the user. The reference is a
 simple uni-directional link using an OID as an identifier.
 This type should be used for all object references so the implementations can
 detect them and automatically resolve them.
- Author:
- semancik
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescriptionclone()Literal clone.cloneComplex(CloneStrategy strategy) Complex clone with different cloning strategies.Creates specific subclass of ItemDelta appropriate for type of item that this definition represents (e.g.createDelta(ItemPath path) debugDump(int indent) <IV extends PrismValue,ID extends ItemDefinition<?>> 
 PartiallyResolvedItem<IV,ID> findPartial(ItemPath path) <I extends Item<?,?>> 
 IfindReferencedItem(ItemPath path, Class<I> type) Tries to find referenced path (path starting with object derefence) in-memory.findValueByOid(String oid) getOid()Returns 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.@NotNull Collection<Referencable>Returns (potentially empty) collection of "real values".booleanmerge(PrismReferenceValue value) toString()Methods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.FreezablecheckImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.ItemacceptParentVisitor, add, add, addAll, addAll, addIgnoringEquivalents, addRespectingMetadataAndCloning, applyDefinition, applyDefinition, assertDefinitions, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistenceInternal, clear, contains, contains, copy, diff, diff, equals, equals, equals, filterValues, filterYields, find, findValue, findValue, getAllItems, getAllValues, getAnyValue, getAnyValue, getClonedValues, getDefinition, getDisplayName, getElementName, getHelp, getHighestId, getParent, getPath, getPrismContextLocal, getRealValue, getRealValuesArray, getRealValuesOrRawTypes, getUserData, getUserData, getValue, getValues, hasAnyValue, hasCompleteDefinition, hashCode, hashCode, hashCode, hasNoValues, hasRaw, isEmpty, isIncomplete, isOperational, isRaw, isSingleValue, isSingleValueByDefinition, merge, normalize, recomputeAllValues, remove, remove, removeAll, removeIf, removeRespectingMetadata, replace, replaceAll, setDefinition, setElementName, setIncomplete, setParent, setPrismContext, setUserData, size, valuesStreamMethods inherited from interface com.evolveum.midpoint.prism.PathVisitableacceptMethods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitivegetPrismContext
- 
Method Details- 
getRealValueReferencable 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 interface- Item<PrismReferenceValue,- PrismReferenceDefinition> 
 
- 
getRealValuesDescription copied from interface:ItemReturns (potentially empty) collection of "real values".- Specified by:
- getRealValuesin interface- Item<PrismReferenceValue,- PrismReferenceDefinition> 
 
- 
merge
- 
getOidString getOid()
- 
getTargetNamePolyString getTargetName()
- 
findValueByOid
- 
findPartial<IV extends PrismValue,ID extends ItemDefinition<?>> PartiallyResolvedItem<IV,ID> findPartial(ItemPath path) - Specified by:
- findPartialin interface- Item<PrismReferenceValue,- PrismReferenceDefinition> 
 
- 
createDeltaReferenceDelta 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 interface- Item<PrismReferenceValue,- PrismReferenceDefinition> 
 
- 
createDelta- Specified by:
- createDeltain interface- Item<PrismReferenceValue,- PrismReferenceDefinition> 
 
- 
clonePrismReference clone()Description copied from interface:ItemLiteral clone.- Specified by:
- clonein interface- Item<PrismReferenceValue,- PrismReferenceDefinition> 
 
- 
createImmutableClonePrismReference createImmutableClone()- Specified by:
- createImmutableClonein interface- Item<PrismReferenceValue,- PrismReferenceDefinition> 
 
- 
cloneComplexDescription copied from interface:ItemComplex clone with different cloning strategies.- Specified by:
- cloneComplexin interface- Item<PrismReferenceValue,- PrismReferenceDefinition> 
- See Also:
 
- 
toStringString toString()
- 
debugDump- Specified by:
- debugDumpin interface- DebugDumpable
 
- 
findReferencedItemTries 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.
 
-