com.evolveum.midpoint.common.expression
Class ObjectDeltaObject<T extends ObjectType>
java.lang.Object
com.evolveum.midpoint.common.expression.ItemDeltaItem<PrismContainerValue<T>>
com.evolveum.midpoint.common.expression.ObjectDeltaObject<T>
- All Implemented Interfaces:
- DebugDumpable, Dumpable
public class ObjectDeltaObject<T extends ObjectType>
- extends ItemDeltaItem<PrismContainerValue<T>>
- implements Dumpable, DebugDumpable
A DTO class defining old object state (before change), delta (change) and new object state (after change).
- Author:
- Radovan Semancik
Methods inherited from class com.evolveum.midpoint.common.expression.ItemDeltaItem |
getAnyItem, getDefinition, getDelta, getElementName, getItemNew, getItemOld, isNull, isProperty, isStructuredProperty, resolveStructuredProperty, setDelta, setItemNew, setItemOld, toDeltaSetTriple |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ObjectDeltaObject
public ObjectDeltaObject(PrismObject<T> oldObject,
ObjectDelta<T> delta,
PrismObject<T> newObject)
getOldObject
public PrismObject<T> getOldObject()
getObjectDelta
public ObjectDelta<T> getObjectDelta()
getNewObject
public PrismObject<T> getNewObject()
getAnyObject
public PrismObject<T> getAnyObject()
isContainer
public boolean isContainer()
- Overrides:
isContainer
in class ItemDeltaItem<PrismContainerValue<T extends ObjectType>>
findIdi
public <V extends PrismValue> ItemDeltaItem<V> findIdi(ItemPath path)
- Overrides:
findIdi
in class ItemDeltaItem<PrismContainerValue<T extends ObjectType>>
recompute
public void recompute()
throws SchemaException
- Overrides:
recompute
in class ItemDeltaItem<PrismContainerValue<T extends ObjectType>>
- Throws:
SchemaException
create
public static <T extends ObjectType> ObjectDeltaObject<T> create(PrismObject<T> oldObject,
ObjectDelta<T> delta)
throws SchemaException
- Throws:
SchemaException
create
public static <T extends ObjectType> ObjectDeltaObject<T> create(PrismObject<T> oldObject,
ItemDelta<?>... itemDeltas)
throws SchemaException
- Throws:
SchemaException
hashCode
public int hashCode()
- Overrides:
hashCode
in class ItemDeltaItem<PrismContainerValue<T extends ObjectType>>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class ItemDeltaItem<PrismContainerValue<T extends ObjectType>>
debugDump
public java.lang.String debugDump()
- Description copied from interface:
DebugDumpable
- Show the content of the object intended for diagnostics by system administrator. The out
put should be suitable to use in system logs at "debug" level. It may be multi-line, but in
that case it should be well indented and quite terse.
As it is intended to be used by system administrator, it should not use any developer terms
such as class names, exceptions or stack traces.
- Specified by:
debugDump
in interface DebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
debugDump
public java.lang.String debugDump(int indent)
- Specified by:
debugDump
in interface DebugDumpable
dump
public java.lang.String dump()
- Description copied from interface:
Dumpable
- Show the content of the object intended for diagnostics by developer.
The content may be multi-line, in case of hierarchical objects it may be intended.
The use of this method may not be efficient. It is not supposed to be used in normal operation.
However, it is very useful in tests or in case of dumping objects in severe error situations.
- Specified by:
dump
in interface Dumpable
- Returns:
- content of the object intended for diagnostics.
toString
public java.lang.String toString()
- Overrides:
toString
in class ItemDeltaItem<PrismContainerValue<T extends ObjectType>>
Copyright © 2012 evolveum. All Rights Reserved.