com.evolveum.midpoint.model.lens
Class ObjectDeltaWaves<O extends ObjectType>
java.lang.Object
com.evolveum.midpoint.model.lens.ObjectDeltaWaves<O>
- All Implemented Interfaces:
- DebugDumpable, Dumpable, java.io.Serializable, java.lang.Iterable<ObjectDelta<O>>, java.util.Collection<ObjectDelta<O>>, java.util.List<ObjectDelta<O>>
public class ObjectDeltaWaves<O extends ObjectType>
- extends java.lang.Object
- implements java.util.List<ObjectDelta<O>>, Dumpable, DebugDumpable, java.io.Serializable
- Author:
- semancik
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
equals, hashCode |
ObjectDeltaWaves
public ObjectDeltaWaves()
getMergedDeltas
public ObjectDelta<O> getMergedDeltas()
throws SchemaException
- Get merged deltas from all the waves.
- Throws:
SchemaException
getMergedDeltas
public ObjectDelta<O> getMergedDeltas(ObjectDelta<O> initialDelta,
int maxWave)
throws SchemaException
- Get merged deltas from the waves up to maxWave (including). Optional initial delta may be supplied.
Negative maxWave means to merge all available waves.
- Throws:
SchemaException
setOid
public void setOid(java.lang.String oid)
checkConsistence
public void checkConsistence(boolean requireOid,
java.lang.String shortDesc)
normalize
public void normalize()
clone
public ObjectDeltaWaves<O> clone()
- Overrides:
clone
in class java.lang.Object
copyValues
protected void copyValues(ObjectDeltaWaves<O> clone)
adopt
public void adopt(PrismContext prismContext)
throws SchemaException
- Throws:
SchemaException
size
public int size()
- Specified by:
size
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
size
in interface java.util.List<ObjectDelta<O extends ObjectType>>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
isEmpty
in interface java.util.List<ObjectDelta<O extends ObjectType>>
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
contains
in interface java.util.List<ObjectDelta<O extends ObjectType>>
iterator
public java.util.Iterator<ObjectDelta<O>> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<ObjectDelta<O extends ObjectType>>
- Specified by:
iterator
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
iterator
in interface java.util.List<ObjectDelta<O extends ObjectType>>
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
toArray
in interface java.util.List<ObjectDelta<O extends ObjectType>>
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
toArray
in interface java.util.List<ObjectDelta<O extends ObjectType>>
add
public boolean add(ObjectDelta<O> e)
- Specified by:
add
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
add
in interface java.util.List<ObjectDelta<O extends ObjectType>>
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
remove
in interface java.util.List<ObjectDelta<O extends ObjectType>>
containsAll
public boolean containsAll(java.util.Collection<?> c)
- Specified by:
containsAll
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
containsAll
in interface java.util.List<ObjectDelta<O extends ObjectType>>
addAll
public boolean addAll(java.util.Collection<? extends ObjectDelta<O>> c)
- Specified by:
addAll
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
addAll
in interface java.util.List<ObjectDelta<O extends ObjectType>>
addAll
public boolean addAll(int index,
java.util.Collection<? extends ObjectDelta<O>> c)
- Specified by:
addAll
in interface java.util.List<ObjectDelta<O extends ObjectType>>
removeAll
public boolean removeAll(java.util.Collection<?> c)
- Specified by:
removeAll
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
removeAll
in interface java.util.List<ObjectDelta<O extends ObjectType>>
retainAll
public boolean retainAll(java.util.Collection<?> c)
- Specified by:
retainAll
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
retainAll
in interface java.util.List<ObjectDelta<O extends ObjectType>>
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
clear
in interface java.util.List<ObjectDelta<O extends ObjectType>>
get
public ObjectDelta<O> get(int index)
- Specified by:
get
in interface java.util.List<ObjectDelta<O extends ObjectType>>
set
public ObjectDelta<O> set(int index,
ObjectDelta<O> element)
- Specified by:
set
in interface java.util.List<ObjectDelta<O extends ObjectType>>
add
public void add(int index,
ObjectDelta<O> element)
- Specified by:
add
in interface java.util.List<ObjectDelta<O extends ObjectType>>
remove
public ObjectDelta<O> remove(int index)
- Specified by:
remove
in interface java.util.List<ObjectDelta<O extends ObjectType>>
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interface java.util.List<ObjectDelta<O extends ObjectType>>
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interface java.util.List<ObjectDelta<O extends ObjectType>>
listIterator
public java.util.ListIterator<ObjectDelta<O>> listIterator()
- Specified by:
listIterator
in interface java.util.List<ObjectDelta<O extends ObjectType>>
listIterator
public java.util.ListIterator<ObjectDelta<O>> listIterator(int index)
- Specified by:
listIterator
in interface java.util.List<ObjectDelta<O extends ObjectType>>
subList
public java.util.List<ObjectDelta<O>> subList(int fromIndex,
int toIndex)
- Specified by:
subList
in interface java.util.List<ObjectDelta<O 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.
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.
dump
public java.lang.String dump(boolean showTriples)
debugDump
public java.lang.String debugDump(int indent)
- Specified by:
debugDump
in interface DebugDumpable
debugDump
public java.lang.String debugDump(int indent,
boolean showTriples)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2012 evolveum. All Rights Reserved.