com.evolveum.midpoint.schema
Class ObjectDeltaOperation<T extends ObjectType>

java.lang.Object
  extended by com.evolveum.midpoint.schema.ObjectDeltaOperation<T>
All Implemented Interfaces:
DebugDumpable, Dumpable

public class ObjectDeltaOperation<T extends ObjectType>
extends Object
implements Dumpable, DebugDumpable

Author:
Radovan Semancik

Field Summary
 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
 
Constructor Summary
ObjectDeltaOperation()
           
ObjectDeltaOperation(ObjectDelta<T> objectDelta)
           
 
Method Summary
 void checkConsistence()
           
static void checkConsistence(Collection<? extends ObjectDeltaOperation<?>> deltas)
           
 ObjectDeltaOperation<T> clone()
           
static Collection<ObjectDeltaOperation<? extends ObjectType>> cloneCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> origCollection)
           
static Collection<ObjectDeltaOperation<? extends ObjectType>> cloneDeltaCollection(Collection<ObjectDelta<? extends ObjectType>> origCollection)
           
 String debugDump()
          Show the content of the object intended for diagnostics by system administrator.
 String debugDump(int indent)
           
 String dump()
          Show the content of the object intended for diagnostics by developer.
 boolean equals(Object obj)
           
 OperationResult getExecutionResult()
           
 ObjectDelta<T> getObjectDelta()
           
 int hashCode()
           
 void setExecutionResult(OperationResult executionResult)
           
 void setObjectDelta(ObjectDelta<T> objectDelta)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectDeltaOperation

public ObjectDeltaOperation()

ObjectDeltaOperation

public ObjectDeltaOperation(ObjectDelta<T> objectDelta)
Method Detail

getObjectDelta

public ObjectDelta<T> getObjectDelta()

setObjectDelta

public void setObjectDelta(ObjectDelta<T> objectDelta)

getExecutionResult

public OperationResult getExecutionResult()

setExecutionResult

public void setExecutionResult(OperationResult executionResult)

clone

public ObjectDeltaOperation<T> clone()
Overrides:
clone in class Object

checkConsistence

public static void checkConsistence(Collection<? extends ObjectDeltaOperation<?>> deltas)

checkConsistence

public void checkConsistence()

cloneCollection

public static Collection<ObjectDeltaOperation<? extends ObjectType>> cloneCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> origCollection)

cloneDeltaCollection

public static Collection<ObjectDeltaOperation<? extends ObjectType>> cloneDeltaCollection(Collection<ObjectDelta<? extends ObjectType>> origCollection)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

debugDump

public 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 String debugDump(int indent)
Specified by:
debugDump in interface DebugDumpable

dump

public 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.


Copyright © 2013 evolveum. All Rights Reserved.