Vordel SDK

com.vordel.es.util.diff
Class DiffNode

java.lang.Object
  extended by com.vordel.es.util.diff.BaseDiffNode
      extended by com.vordel.es.util.diff.DiffNode
All Implemented Interfaces:
java.lang.Comparable

public class DiffNode
extends BaseDiffNode


Nested Class Summary
 
Nested classes/interfaces inherited from class com.vordel.es.util.diff.BaseDiffNode
BaseDiffNode.Difference
 
Field Summary
 Entity base
           
 Entity delta
           
 PortableESPK pk
           
 
Fields inherited from class com.vordel.es.util.diff.BaseDiffNode
parent, root, type
 
Constructor Summary
DiffNode(PortableESPK pk, Entity baseEntity, Entity deltaEntity)
           
 
Method Summary
 void addChild(DiffNode node)
           
 int compareTo(java.lang.Object o)
           
 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()
           
 
Methods inherited from class com.vordel.es.util.diff.BaseDiffNode
getDiffSymbol, isDiffBranch, markDiffBranch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

base

public Entity base

delta

public Entity delta

pk

public PortableESPK pk
Constructor Detail

DiffNode

public DiffNode(PortableESPK pk,
                Entity baseEntity,
                Entity deltaEntity)
Method Detail

getChildren

public java.util.Set<DiffNode> getChildren()

getChildNodes

public java.util.Set<BaseDiffNode> getChildNodes()
Specified by:
getChildNodes in class BaseDiffNode

addChild

public void addChild(DiffNode node)

getParent

public DiffNode getParent()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)

getPK

public PortableESPK getPK()

setApplyDiffs

public void setApplyDiffs(boolean markForApply)

setApplyDiffs

public void setApplyDiffs(boolean markForApply,
                          boolean descend)

isApplyDiffs

public boolean isApplyDiffs()

getChanges

public void getChanges(java.util.Set<ESPK> conflicting,
                       java.util.Set<ESPK> deleted)

Vordel SDK


This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel