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, Serializable, Iterable<ObjectDelta<O>>, Collection<ObjectDelta<O>>, List<ObjectDelta<O>>
public class ObjectDeltaWaves<O extends ObjectType>
- extends Object
- implements List<ObjectDelta<O>>, Dumpable, DebugDumpable, Serializable
- Author:
- semancik
- See Also:
- Serialized Form
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(String oid)
checkConsistence
public void checkConsistence(boolean requireOid,
String shortDesc)
normalize
public void normalize()
clone
public ObjectDeltaWaves<O> clone()
- Overrides:
clone
in class 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 Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
size
in interface List<ObjectDelta<O extends ObjectType>>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
isEmpty
in interface List<ObjectDelta<O extends ObjectType>>
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
contains
in interface List<ObjectDelta<O extends ObjectType>>
iterator
public Iterator<ObjectDelta<O>> iterator()
- Specified by:
iterator
in interface Iterable<ObjectDelta<O extends ObjectType>>
- Specified by:
iterator
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
iterator
in interface List<ObjectDelta<O extends ObjectType>>
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
toArray
in interface List<ObjectDelta<O extends ObjectType>>
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
toArray
in interface List<ObjectDelta<O extends ObjectType>>
add
public boolean add(ObjectDelta<O> e)
- Specified by:
add
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
add
in interface List<ObjectDelta<O extends ObjectType>>
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
remove
in interface List<ObjectDelta<O extends ObjectType>>
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
containsAll
in interface List<ObjectDelta<O extends ObjectType>>
addAll
public boolean addAll(Collection<? extends ObjectDelta<O>> c)
- Specified by:
addAll
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
addAll
in interface List<ObjectDelta<O extends ObjectType>>
addAll
public boolean addAll(int index,
Collection<? extends ObjectDelta<O>> c)
- Specified by:
addAll
in interface List<ObjectDelta<O extends ObjectType>>
removeAll
public boolean removeAll(Collection<?> c)
- Specified by:
removeAll
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
removeAll
in interface List<ObjectDelta<O extends ObjectType>>
retainAll
public boolean retainAll(Collection<?> c)
- Specified by:
retainAll
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
retainAll
in interface List<ObjectDelta<O extends ObjectType>>
clear
public void clear()
- Specified by:
clear
in interface Collection<ObjectDelta<O extends ObjectType>>
- Specified by:
clear
in interface List<ObjectDelta<O extends ObjectType>>
get
public ObjectDelta<O> get(int index)
- Specified by:
get
in interface List<ObjectDelta<O extends ObjectType>>
set
public ObjectDelta<O> set(int index,
ObjectDelta<O> element)
- Specified by:
set
in interface List<ObjectDelta<O extends ObjectType>>
add
public void add(int index,
ObjectDelta<O> element)
- Specified by:
add
in interface List<ObjectDelta<O extends ObjectType>>
remove
public ObjectDelta<O> remove(int index)
- Specified by:
remove
in interface List<ObjectDelta<O extends ObjectType>>
indexOf
public int indexOf(Object o)
- Specified by:
indexOf
in interface List<ObjectDelta<O extends ObjectType>>
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOf
in interface List<ObjectDelta<O extends ObjectType>>
listIterator
public ListIterator<ObjectDelta<O>> listIterator()
- Specified by:
listIterator
in interface List<ObjectDelta<O extends ObjectType>>
listIterator
public ListIterator<ObjectDelta<O>> listIterator(int index)
- Specified by:
listIterator
in interface List<ObjectDelta<O extends ObjectType>>
subList
public List<ObjectDelta<O>> subList(int fromIndex,
int toIndex)
- Specified by:
subList
in interface List<ObjectDelta<O extends ObjectType>>
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.
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.
dump
public String dump(boolean showTriples)
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interface DebugDumpable
debugDump
public String debugDump(int indent,
boolean showTriples)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 evolveum. All Rights Reserved.