public class DiffNode extends BaseDiffNode implements java.lang.Comparable<DiffNode>
BaseDiffNode.Difference
Modifier and Type | Field and Description |
---|---|
Entity |
base |
Entity |
delta |
PortableESPK |
pk |
parent, root, type
Constructor and Description |
---|
DiffNode(PortableESPK pk,
Entity baseEntity,
Entity deltaEntity) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(DiffNode node) |
int |
compareTo(DiffNode other) |
void |
getChanges(java.util.Set<ESPK> conflicting,
java.util.Set<ESPK> deleted) |
java.util.Set<BaseDiffNode> |
getChildNodes() |
java.util.Set<DiffNode> |
getChildren() |
DiffNode |
getParent() |
PortableESPK |
getPK() |
boolean |
isApplyDiffs() |
void |
setApplyDiffs(boolean markForApply) |
void |
setApplyDiffs(boolean markForApply,
boolean descend) |
java.lang.String |
toString() |
getDiffSymbol, isDiffBranch, markDiffBranch
public Entity base
public Entity delta
public PortableESPK pk
public DiffNode(PortableESPK pk, Entity baseEntity, Entity deltaEntity)
public java.util.Set<DiffNode> getChildren()
public java.util.Set<BaseDiffNode> getChildNodes()
getChildNodes
in class BaseDiffNode
public void addChild(DiffNode node)
public DiffNode getParent()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(DiffNode other)
compareTo
in interface java.lang.Comparable<DiffNode>
public PortableESPK getPK()
public void setApplyDiffs(boolean markForApply)
public void setApplyDiffs(boolean markForApply, boolean descend)
public boolean isApplyDiffs()
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel