Class ReferenceDeltaImpl
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.impl.delta.ItemDeltaImpl<PrismReferenceValue,PrismReferenceDefinition>
com.evolveum.midpoint.prism.impl.delta.ReferenceDeltaImpl
- All Implemented Interfaces:
ItemDelta<PrismReferenceValue,
,PrismReferenceDefinition> ReferenceDelta
,Freezable
,Itemable
,PathVisitable
,Visitable
,DebugDumpable
,Foreachable<PrismReferenceValue>
,Serializable
public class ReferenceDeltaImpl
extends ItemDeltaImpl<PrismReferenceValue,PrismReferenceDefinition>
implements ReferenceDelta
- Author:
- semancik
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.delta.ItemDelta
ItemDelta.Transformer<V extends PrismValue,
D extends ItemDefinition<?>> -
Field Summary
Fields inherited from class com.evolveum.midpoint.prism.impl.delta.ItemDeltaImpl
applyResults, definition, elementName, parentPath, valuesToAdd, valuesToDelete, valuesToReplace
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ConstructorsConstructorDescriptionReferenceDeltaImpl
(ItemPath propertyPath, PrismReferenceDefinition itemDefinition) ReferenceDeltaImpl
(ItemPath parentPath, QName name, PrismReferenceDefinition itemDefinition) ReferenceDeltaImpl
(PrismReferenceDefinition itemDefinition) -
Method Summary
Modifier and TypeMethodDescriptionclone()
protected void
copyValues
(ReferenceDeltaImpl clone) static ReferenceDeltaImpl
createModificationAdd
(ItemPath path, PrismObjectDefinition<?> objectDefinition, PrismReferenceValue refValue) static ReferenceDeltaImpl
createModificationAdd
(ItemPath path, PrismObjectDefinition<?> objectDefinition, String oid) static ReferenceDeltaImpl
createModificationAdd
(ItemPath path, PrismObjectDefinition<?> objectDefinition, Collection<PrismReferenceValue> refValues) static <T extends Objectable>
ReferenceDeltaImplcreateModificationAdd
(Class<T> type, ItemName refName, PrismObject<?> refTarget) static <T extends Objectable>
ReferenceDeltaImplcreateModificationAdd
(Class<T> type, ItemName refName, PrismReferenceValue refValue) static Collection<? extends ItemDelta<?,
?>> createModificationAddCollection
(ItemName propertyName, PrismObjectDefinition<?> objectDefinition, PrismReferenceValue refValue) static <T extends Objectable>
Collection<? extends ItemDelta<?,?>> createModificationAddCollection
(Class<T> type, ItemName refName, PrismObject<?> refTarget) static <T extends Objectable>
Collection<? extends ItemDelta<?,?>> createModificationAddCollection
(Class<T> type, ItemName refName, PrismReferenceValue refValue) static <T extends Objectable>
Collection<? extends ItemDelta<?,?>> createModificationAddCollection
(Class<T> type, ItemName refName, String targetOid) static ReferenceDeltaImpl
createModificationDelete
(ItemPath path, PrismObjectDefinition<?> objectDefinition, Collection<PrismReferenceValue> refValues) static <T extends Objectable>
ReferenceDeltaImplcreateModificationDelete
(Class<T> type, QName refName, PrismObject<?> refTarget) static <T extends Objectable>
ReferenceDeltaImplcreateModificationDelete
(Class<T> type, QName refName, PrismReferenceValue refValue) static ReferenceDeltaImpl
createModificationDelete
(QName refName, PrismObjectDefinition<?> objectDefinition, PrismObject<?> refTarget) static ReferenceDeltaImpl
createModificationDelete
(QName refName, PrismObjectDefinition<?> objectDefinition, PrismReferenceValue refValue) static ReferenceDeltaImpl
createModificationDelete
(QName refName, PrismObjectDefinition<?> objectDefinition, String oid) static <T extends Objectable>
Collection<? extends ItemDelta<?,?>> createModificationDeleteCollection
(Class<T> type, QName refName, PrismObject<?> refTarget) static <T extends Objectable>
Collection<? extends ItemDelta<?,?>> createModificationDeleteCollection
(Class<T> type, QName refName, PrismReferenceValue refValue) static Collection<? extends ItemDelta<?,
?>> createModificationDeleteCollection
(QName propertyName, PrismObjectDefinition<?> objectDefinition, PrismReferenceValue refValue) static ReferenceDeltaImpl
createModificationReplace
(ItemPath path, PrismObjectDefinition<?> objectDefinition, PrismReferenceValue refValue) static ReferenceDeltaImpl
createModificationReplace
(ItemPath path, PrismObjectDefinition<?> objectDefinition, String oid) Convenience method for quick creation of object deltas that replace a single object property.static ReferenceDeltaImpl
createModificationReplace
(ItemPath path, PrismObjectDefinition<?> objectDefinition, Collection<PrismReferenceValue> refValues) static <O extends Objectable>
ReferenceDeltaImplcreateModificationReplace
(ItemPath path, Class<O> type, PrismContext ctx, String oid) boolean
isApplicableToType
(Item item) Methods inherited from class com.evolveum.midpoint.prism.impl.delta.ItemDeltaImpl
accept, accept, accept, addEstimatedOldValue, addEstimatedOldValues, addEstimatedOldValues, addsAnyValue, addToReplaceDelta, addValuesToAdd, addValuesToAdd, addValuesToDelete, addValuesToDelete, addValueToAdd, addValueToDelete, addValueToReplace, applyDefinition, applyDefinition, applyResults, applyTo, applyTo, applyTo, applyToMatchingPath, applyTransformer, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, clear, clearValuesToAdd, clearValuesToDelete, clearValuesToReplace, cloneWithChangedParentPath, contains, contains, copyValues, createReverseDelta, debugDump, distributeReplace, dumpValues, equals, equivalent, filterValues, filterYields, findValueToAddOrReplace, foreach, getAnyValue, getDefinition, getElementName, getEstimatedOldValues, getItemNew, getItemNew, getItemNewMatchingPath, getParentPath, getPath, getSubDelta, getValueChanges, getValuesToAdd, getValuesToDelete, getValuesToReplace, hasAnyRawValue, hasCompleteDefinition, hashCode, isAdd, isApplicableTo, isDelete, isEmpty, isLiterallyEmpty, isRaw, isRedundant, isReplace, isValueEquivalent, isValueToAdd, isValueToDelete, isValueToReplace, merge, mergeValuesToAdd, mergeValuesToAdd, mergeValuesToDelete, mergeValuesToDelete, mergeValuesToReplace, mergeValuesToReplace, mergeValueToAdd, mergeValueToDelete, mergeValueToReplace, narrow, normalize, removeValueToAdd, removeValueToDelete, removeValueToReplace, resetValuesToAdd, resetValuesToDelete, resetValuesToReplace, revive, setDefinition, setElementName, setEstimatedOldValues, setOriginTypeRecursive, setParentPath, setValuesToReplace, setValuesToReplace, setValueToReplace, setValueToReplace, simplify, size, toDeltaSetTriple, toString, validate, validate, validateValues, validateValues
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable, performFreeze
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze
Methods inherited from interface com.evolveum.midpoint.prism.delta.ItemDelta
accept, accept, accept, addEstimatedOldValue, addEstimatedOldValues, addEstimatedOldValues, addsAnyValue, addsAnyValueMatching, addToReplaceDelta, addValuesToAdd, addValuesToAdd, addValuesToDelete, addValuesToDelete, addValueToAdd, addValueToDelete, addValueToReplace, applyDefinition, applyResults, applyTo, applyTo, applyTo, applyToMatchingPath, applyTransformer, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, clear, clearValuesToAdd, clearValuesToDelete, clearValuesToReplace, cloneWithChangedParentPath, contains, contains, containsValueToAdd, containsValueToDelete, containsValueToReplace, createReverseDelta, debugDump, distributeReplace, equals, equivalent, filterValues, filterYields, findValueToAddOrReplace, foreach, getAnyValue, getDefinition, getElementName, getEstimatedOldValues, getItemNew, getItemNew, getItemNewMatchingPath, getNewValues, getParentPath, getPath, getRealValuesToAdd, getRealValuesToDelete, getRealValuesToReplace, getSubDelta, getValueChanges, getValues, getValuesToAdd, getValuesToDelete, getValuesToReplace, hasCompleteDefinition, isAdd, isApplicableTo, isDelete, isEmpty, isImmutable, isLiterallyEmpty, isMetadataRelated, isOperational, isRaw, isRedundant, isReplace, isValueToAdd, isValueToDelete, isValueToReplace, merge, mergeValuesToAdd, mergeValuesToAdd, mergeValuesToDelete, mergeValuesToDelete, mergeValuesToReplace, mergeValuesToReplace, mergeValueToAdd, mergeValueToDelete, mergeValueToReplace, narrow, normalize, removeValueToAdd, removeValueToDelete, removeValueToReplace, resetValuesToAdd, resetValuesToDelete, resetValuesToReplace, revive, setElementName, setEstimatedOldValues, setOriginTypeRecursive, setParentPath, setValuesToReplace, setValuesToReplace, setValueToReplace, setValueToReplace, simplify, size, toDeltaSetTriple, toString, validate, validate, validateValues, validateValues
Methods inherited from interface com.evolveum.midpoint.prism.delta.ReferenceDelta
applyDefinition, setDefinition
-
Constructor Details
-
ReferenceDeltaImpl
-
ReferenceDeltaImpl
-
ReferenceDeltaImpl
-
-
Method Details
-
getItemClass
- Specified by:
getItemClass
in interfaceItemDelta<PrismReferenceValue,
PrismReferenceDefinition> - Specified by:
getItemClass
in interfaceReferenceDelta
- Specified by:
getItemClass
in classItemDeltaImpl<PrismReferenceValue,
PrismReferenceDefinition>
-
isApplicableToType
- Specified by:
isApplicableToType
in interfaceReferenceDelta
- Specified by:
isApplicableToType
in classItemDeltaImpl<PrismReferenceValue,
PrismReferenceDefinition>
-
clone
- Specified by:
clone
in interfaceItemDelta<PrismReferenceValue,
PrismReferenceDefinition> - Specified by:
clone
in interfaceReferenceDelta
- Specified by:
clone
in classItemDeltaImpl<PrismReferenceValue,
PrismReferenceDefinition>
-
copyValues
-
createModificationReplace
public static ReferenceDeltaImpl createModificationReplace(ItemPath path, PrismObjectDefinition<?> objectDefinition, String oid) Convenience method for quick creation of object deltas that replace a single object property. This is used quite often to justify a separate method. -
createModificationReplace
public static <O extends Objectable> ReferenceDeltaImpl createModificationReplace(ItemPath path, Class<O> type, PrismContext ctx, String oid) -
createModificationReplace
public static ReferenceDeltaImpl createModificationReplace(ItemPath path, PrismObjectDefinition<?> objectDefinition, PrismReferenceValue refValue) -
createModificationReplace
public static ReferenceDeltaImpl createModificationReplace(ItemPath path, PrismObjectDefinition<?> objectDefinition, Collection<PrismReferenceValue> refValues) -
createModificationAddCollection
public static Collection<? extends ItemDelta<?,?>> createModificationAddCollection(ItemName propertyName, PrismObjectDefinition<?> objectDefinition, PrismReferenceValue refValue) -
createModificationAdd
public static ReferenceDeltaImpl createModificationAdd(ItemPath path, PrismObjectDefinition<?> objectDefinition, String oid) -
createModificationAdd
public static ReferenceDeltaImpl createModificationAdd(ItemPath path, PrismObjectDefinition<?> objectDefinition, PrismReferenceValue refValue) -
createModificationAdd
public static ReferenceDeltaImpl createModificationAdd(ItemPath path, PrismObjectDefinition<?> objectDefinition, Collection<PrismReferenceValue> refValues) -
createModificationAdd
public static <T extends Objectable> ReferenceDeltaImpl createModificationAdd(Class<T> type, ItemName refName, PrismReferenceValue refValue) -
createModificationAddCollection
public static <T extends Objectable> Collection<? extends ItemDelta<?,?>> createModificationAddCollection(Class<T> type, ItemName refName, String targetOid) -
createModificationAddCollection
public static <T extends Objectable> Collection<? extends ItemDelta<?,?>> createModificationAddCollection(Class<T> type, ItemName refName, PrismReferenceValue refValue) -
createModificationAdd
public static <T extends Objectable> ReferenceDeltaImpl createModificationAdd(Class<T> type, ItemName refName, PrismObject<?> refTarget) -
createModificationAddCollection
public static <T extends Objectable> Collection<? extends ItemDelta<?,?>> createModificationAddCollection(Class<T> type, ItemName refName, PrismObject<?> refTarget) -
createModificationDeleteCollection
public static Collection<? extends ItemDelta<?,?>> createModificationDeleteCollection(QName propertyName, PrismObjectDefinition<?> objectDefinition, PrismReferenceValue refValue) -
createModificationDelete
public static ReferenceDeltaImpl createModificationDelete(ItemPath path, PrismObjectDefinition<?> objectDefinition, Collection<PrismReferenceValue> refValues) -
createModificationDelete
public static ReferenceDeltaImpl createModificationDelete(QName refName, PrismObjectDefinition<?> objectDefinition, String oid) -
createModificationDelete
public static ReferenceDeltaImpl createModificationDelete(QName refName, PrismObjectDefinition<?> objectDefinition, PrismObject<?> refTarget) -
createModificationDelete
public static ReferenceDeltaImpl createModificationDelete(QName refName, PrismObjectDefinition<?> objectDefinition, PrismReferenceValue refValue) -
createModificationDelete
public static <T extends Objectable> ReferenceDeltaImpl createModificationDelete(Class<T> type, QName refName, PrismReferenceValue refValue) -
createModificationDeleteCollection
public static <T extends Objectable> Collection<? extends ItemDelta<?,?>> createModificationDeleteCollection(Class<T> type, QName refName, PrismReferenceValue refValue) -
createModificationDelete
public static <T extends Objectable> ReferenceDeltaImpl createModificationDelete(Class<T> type, QName refName, PrismObject<?> refTarget) -
createModificationDeleteCollection
public static <T extends Objectable> Collection<? extends ItemDelta<?,?>> createModificationDeleteCollection(Class<T> type, QName refName, PrismObject<?> refTarget)
-