com.funambol.syncclient.spds.engine
Class SyncOperation

java.lang.Object
  extended by com.funambol.syncclient.spds.engine.SyncOperation

public class SyncOperation
extends java.lang.Object

This class represents a synchronization operation to perform on a SyncSource.

A SyncOperation can represent the following actions


Field Summary
static char CONFLICT
           
static char DELETE
           
static char NEW
           
static char NOP
           
static char UPDATE
           
 
Constructor Summary
SyncOperation(SyncItem syncItem, char operation)
          Creates a new SyncOperation given the SyncItem and the operation.
 
Method Summary
 char getOperation()
          Returns the operation this object represents.
 SyncItem getSyncItem()
          Rturns the item associated to the operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEW

public static final char NEW
See Also:
Constant Field Values

DELETE

public static final char DELETE
See Also:
Constant Field Values

UPDATE

public static final char UPDATE
See Also:
Constant Field Values

CONFLICT

public static final char CONFLICT
See Also:
Constant Field Values

NOP

public static final char NOP
See Also:
Constant Field Values
Constructor Detail

SyncOperation

public SyncOperation(SyncItem syncItem,
                     char operation)
Creates a new SyncOperation given the SyncItem and the operation.

Parameters:
syncItem - the syncItem
operation - the operation
Method Detail

getSyncItem

public SyncItem getSyncItem()
Rturns the item associated to the operation

Returns:
the SyncItem associated to the operation

getOperation

public char getOperation()
Returns the operation this object represents.

Returns:
the operation this object represents.


Copyright © 2003-2007 Funambol.