org.granite.client.tide.data
Class Conflict

java.lang.Object
  extended by org.granite.client.tide.data.Conflict

public class Conflict
extends Object

Holds conflict data when locally changed data is in conflict with data coming from the server

Author:
William DRAI

Constructor Summary
Conflict(Conflicts conflicts, Identifiable localEntity, Identifiable receivedEntity, List<String> properties)
           
 
Method Summary
 void acceptClient()
           
 void acceptServer()
           
 Identifiable getLocalEntity()
           
 List<String> getProperties()
           
 Identifiable getReceivedEntity()
           
 boolean isRemoval()
           
 boolean isResolved()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Conflict

public Conflict(Conflicts conflicts,
                Identifiable localEntity,
                Identifiable receivedEntity,
                List<String> properties)
Method Detail

getLocalEntity

public Identifiable getLocalEntity()

getReceivedEntity

public Identifiable getReceivedEntity()

getProperties

public List<String> getProperties()

isRemoval

public boolean isRemoval()

isResolved

public boolean isResolved()

acceptClient

public void acceptClient()

acceptServer

public void acceptServer()