com.hcl.voltmx.sync.services.syncruntime.conflicts
Class ConflictResolutionResult

java.lang.Object
  extended by com.hcl.voltmx.sync.services.syncruntime.conflicts.ConflictResolutionResult

public class ConflictResolutionResult
extends java.lang.Object

The ConflictResolutionResult holds the resolved entity after the conflict resolution.


Constructor Summary
ConflictResolutionResult()
          Creates the ConflictResolutionResult instance
ConflictResolutionResult(IEntity resolvedEntity, SyncEntity.ChangeType changeType, java.lang.Boolean ignore)
          Creates the ConflictResolutionResult instance with the resolved entity, change type
 
Method Summary
 SyncEntity.ChangeType getChangeType()
           
 java.lang.Boolean getIgnore()
           
 IEntity getResolvedEntity()
           
 void setChangeType(SyncEntity.ChangeType changeType)
           
 void setIgnore(java.lang.Boolean ignore)
           
 void setResolvedEntity(IEntity resolvedEntity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConflictResolutionResult

public ConflictResolutionResult()
Creates the ConflictResolutionResult instance


ConflictResolutionResult

public ConflictResolutionResult(IEntity resolvedEntity,
                                SyncEntity.ChangeType changeType,
                                java.lang.Boolean ignore)
Creates the ConflictResolutionResult instance with the resolved entity, change type

Parameters:
resolvedEntity - Instance of IEntity. Resolved entity
changeType - Operation type which will be performed on data source
ignore - Flag to indicate to ignore the conflict. If the value is true, then the changes will not be applied to data source.
Method Detail

getIgnore

public java.lang.Boolean getIgnore()

setIgnore

public void setIgnore(java.lang.Boolean ignore)

getChangeType

public SyncEntity.ChangeType getChangeType()

setChangeType

public void setChangeType(SyncEntity.ChangeType changeType)

getResolvedEntity

public IEntity getResolvedEntity()

setResolvedEntity

public void setResolvedEntity(IEntity resolvedEntity)