public class ContainerDelta<V extends Containerable> extends ItemDelta<PrismContainerValue<V>> implements PrismContainerable<V>
definition, name, parentPath, valuesToAdd, valuesToDelete, valuesToReplace
INDENT_STRING
Constructor and Description |
---|
ContainerDelta(ItemPath propertyPath,
PrismContainerDefinition itemDefinition) |
ContainerDelta(ItemPath parentPath,
QName name,
PrismContainerDefinition itemDefinition) |
ContainerDelta(PrismContainerDefinition itemDefinition) |
ContainerDelta(QName name,
PrismContainerDefinition itemDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
applyDefinition(ItemDefinition definition) |
void |
applyTo(Item item)
Apply this delta (path) to a property.
|
ContainerDelta<V> |
clone() |
protected void |
copyValues(ContainerDelta<V> clone) |
static <T extends Containerable,O extends Objectable> |
createDelta(PrismContext prismContext,
Class<O> type,
QName containerName) |
static <T extends Containerable,O extends Objectable> |
createDelta(PrismObjectDefinition<O> objectDefinition,
QName containerName) |
protected void |
dumpValues(StringBuilder sb,
String label,
Collection<PrismContainerValue<V>> values,
int indent) |
ItemDelta<?> |
findItemDelta(ItemPath path) |
Class<V> |
getCompileTimeClass() |
PrismContainerDefinition<V> |
getDefinition() |
Class<PrismContainer> |
getItemClass() |
<T extends Containerable> |
getValues(Class<T> type)
Returns all values regardless of whether they are added or removed or replaced.
|
boolean |
hasCompleteDefinition() |
void |
setDefinition(ItemDefinition definition) |
accept, accept, accept, addsAnyValue, addValuesToAdd, addValuesToAdd, addValuesToDelete, addValuesToDelete, addValueToAdd, addValueToDelete, applyDefinition, applyDefinition, applyTo, applyTo, applyTo, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, checkConsistence, clear, clearValuesToAdd, clearValuesToDelete, clearValuesToReplace, computeChangedItem, contains, copyValues, debugDump, debugDump, distributeReplace, dump, equals, findContainerDelta, findContainerDelta, findItemDelta, findItemDelta, findItemDeltasSubPath, findPropertyDelta, findPropertyDelta, findPropertyDelta, findReferenceModification, getAnyValue, getItemNew, getItemNew, getName, getParentPath, getPath, getPrismContext, getValuesToAdd, getValuesToDelete, getValuesToReplace, hashCode, isAdd, isDelete, isEmpty, isRaw, isReplace, isValueToAdd, isValueToAdd, isValueToDelete, isValueToDelete, isValueToReplace, isValueToReplace, merge, mergeValuesToAdd, mergeValuesToAdd, mergeValuesToDelete, mergeValuesToDelete, mergeValuesToReplace, mergeValuesToReplace, mergeValueToAdd, mergeValueToDelete, mergeValueToReplace, narrow, normalize, removeItemDelta, removeValueToAdd, removeValueToDelete, removeValueToReplace, resetValuesToAdd, revive, setName, setParentPath, setValuesToReplace, setValuesToReplace, setValueToReplace, setValueToReplace, simplify, toDeltaSetTriple, toDeltaSetTriple, toDeltaSetTriple, toDeltaSetTriple, toString, validate, validate
finalize, getClass, notify, notifyAll, wait, wait, wait
getName, getPath, getPrismContext
public ContainerDelta(PrismContainerDefinition itemDefinition)
public ContainerDelta(ItemPath propertyPath, PrismContainerDefinition itemDefinition)
public ContainerDelta(ItemPath parentPath, QName name, PrismContainerDefinition itemDefinition)
public ContainerDelta(QName name, PrismContainerDefinition itemDefinition)
public Class<PrismContainer> getItemClass()
getItemClass
in class ItemDelta<PrismContainerValue<V extends Containerable>>
public <T extends Containerable> Collection<PrismContainerValue<T>> getValues(Class<T> type)
public PrismContainerDefinition<V> getDefinition()
getDefinition
in interface Itemable
getDefinition
in interface PrismContainerable<V extends Containerable>
getDefinition
in class ItemDelta<PrismContainerValue<V extends Containerable>>
public void setDefinition(ItemDefinition definition)
setDefinition
in class ItemDelta<PrismContainerValue<V extends Containerable>>
public void applyDefinition(ItemDefinition definition) throws SchemaException
applyDefinition
in class ItemDelta<PrismContainerValue<V extends Containerable>>
SchemaException
public boolean hasCompleteDefinition()
hasCompleteDefinition
in class ItemDelta<PrismContainerValue<V extends Containerable>>
public Class<V> getCompileTimeClass()
getCompileTimeClass
in interface PrismContainerable<V extends Containerable>
public void applyTo(Item item) throws SchemaException
ItemDelta
applyTo
in class ItemDelta<PrismContainerValue<V extends Containerable>>
SchemaException
public ContainerDelta<V> clone()
clone
in class ItemDelta<PrismContainerValue<V extends Containerable>>
protected void copyValues(ContainerDelta<V> clone)
public static <T extends Containerable,O extends Objectable> ContainerDelta<T> createDelta(PrismContext prismContext, Class<O> type, QName containerName)
public static <T extends Containerable,O extends Objectable> ContainerDelta<T> createDelta(PrismObjectDefinition<O> objectDefinition, QName containerName)
protected void dumpValues(StringBuilder sb, String label, Collection<PrismContainerValue<V>> values, int indent)
dumpValues
in class ItemDelta<PrismContainerValue<V extends Containerable>>
Copyright © 2013 evolveum. All rights reserved.