public class ObjectTreeDeltas<F extends FocusType> extends Object implements DebugDumpable
INDENT_STRING
Constructor and Description |
---|
ObjectTreeDeltas(ObjectDelta<F> focusChange,
PrismContext prismContext) |
ObjectTreeDeltas(PrismContext prismContext) |
public ObjectTreeDeltas(PrismContext prismContext)
public ObjectTreeDeltas(ObjectDelta<F> focusChange, PrismContext prismContext)
public ObjectDelta<F> getFocusChange()
public ObjectDelta<ShadowType> getProjectionChange(ResourceShadowDiscriminator discriminator)
public Map<ResourceShadowDiscriminator,ObjectDelta<ShadowType>> getProjectionChangeMap()
public void setFocusChange(ObjectDelta<F> focusChange)
public void addProjectionChange(ResourceShadowDiscriminator resourceShadowDiscriminator, ObjectDelta<ShadowType> primaryDelta)
public boolean isEmpty()
public static boolean isEmpty(ObjectTreeDeltasType deltas)
public ObjectTreeDeltas<F> clone()
public Set<? extends Map.Entry<ResourceShadowDiscriminator,ObjectDelta<ShadowType>>> getProjectionChangeMapEntries()
public String toObjectTreeDeltasTypeXml() throws SchemaException
SchemaException
public ObjectTreeDeltasType toObjectTreeDeltasType() throws SchemaException
SchemaException
public static String toObjectTreeDeltasTypeXml(ObjectTreeDeltas objectTreeDeltas) throws SchemaException
SchemaException
public static String toObjectTreeDeltasTypeXml(ObjectTreeDeltasType objectTreeDeltasType, PrismContext prismContext) throws SchemaException
SchemaException
public static ObjectTreeDeltasType toObjectTreeDeltasType(ObjectTreeDeltas objectTreeDeltas) throws SchemaException
SchemaException
public static ObjectTreeDeltas fromObjectTreeDeltasType(ObjectTreeDeltasType deltasType, PrismContext prismContext) throws SchemaException
SchemaException
public List<ObjectDelta<?>> getDeltaList()
public boolean subtractFromFocusDelta(@NotNull ItemPath itemPath, @NotNull PrismValue value)
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
public void merge(ObjectTreeDeltas<F> deltasToMerge) throws SchemaException
SchemaException
Copyright © 2016 Evolveum. All rights reserved.