com.funambol.syncml.protocol
Class SyncCap

java.lang.Object
  extended by com.funambol.syncml.protocol.SyncCap

public class SyncCap
extends java.lang.Object

This class represents the synchronization capabilities of a datastore and corresponds to the <SyncCap> tag in the SyncML devinf DTD

See Also:
DataStore

Constructor Summary
SyncCap()
          In order to expose the server configuration like WS this constructor must be public
SyncCap(SyncType[] syncTypes)
          Creates a new SyncCap object that specifies the synchronization capabilities of the given datastore
 
Method Summary
 void addSyncType(SyncType syncType)
           
 java.util.Vector getSyncType()
           
 void setSyncType(SyncType[] syncTypes)
          Sets the array of SyncType
 void setSyncType(java.util.Vector syncTypes)
          Sets the array of SyncType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncCap

public SyncCap()
In order to expose the server configuration like WS this constructor must be public


SyncCap

public SyncCap(SyncType[] syncTypes)
Creates a new SyncCap object that specifies the synchronization capabilities of the given datastore

Parameters:
syncTypes - an array of type of the supported synchronization - NOT NULL
Method Detail

getSyncType

public java.util.Vector getSyncType()
Returns:
The return value is guaranteed to be not-null. Also, the array's elements are guaranteed to be not-null.

setSyncType

public void setSyncType(SyncType[] syncTypes)
Sets the array of SyncType

Parameters:
syncTypes - the array of SyncType

setSyncType

public void setSyncType(java.util.Vector syncTypes)
Sets the array of SyncType

Parameters:
syncTypes - the array of SyncType

addSyncType

public void addSyncType(SyncType syncType)


Copyright © 2001-2009 Funambol.