|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncml.protocol.DataStore
public class DataStore
This class corresponds to the <DataStore> tag in the SyncML devinf DTD
Constructor Summary | |
---|---|
DataStore()
In order to expose the server configuration like WS this constructor must be public |
|
DataStore(SourceRef sourceRef,
java.lang.String displayName,
long maxGUIDSize,
CTInfo rxPref,
CTInfo[] rxs,
CTInfo txPref,
CTInfo[] txs,
CTCap[] ctCaps,
DSMem dsMem,
boolean supportHierarchicalSync,
SyncCap syncCap,
CTInfo[] filterRxs,
FilterCap[] filterCaps)
Creates a new DataStore object with the given input information |
|
DataStore(SourceRef sourceRef,
java.lang.String displayName,
long maxGUIDSize,
CTInfo rxPref,
CTInfo[] rxs,
CTInfo txPref,
CTInfo[] txs,
DSMem dsMem,
SyncCap syncCap)
Creates a new DataStore object with the given input information |
Method Summary | |
---|---|
void |
addCTCap(CTCap ctCap)
|
void |
addRxs(CTInfo rxs)
|
void |
addTxs(CTInfo txs)
|
java.util.Vector |
getCTCaps()
Gets an array of content type capabilities |
java.lang.String |
getDisplayName()
Gets the display name of the datastore |
DSMem |
getDSMem()
Gets the maximum memory and item identifier for the datastore |
java.util.Vector |
getFilterCaps()
Gets an array of filtering capabilities |
java.util.Vector |
getFilterRxs()
Gets an array of supported filter grammars that can be received by the datastore |
long |
getMaxGUIDSize()
Gets the maximum GUID size |
CTInfo |
getRxPref()
Gets the CTInfo corresponds to <Rx-Pref> element |
java.util.Vector |
getRxs()
Gets the array of the supported type and version of the content type received by the device |
SourceRef |
getSourceRef()
Gets the reference URI for a local datastore |
java.lang.Boolean |
getSupportHierarchicalSync()
Gets the value of SupportHierarchicalSync property |
SyncCap |
getSyncCap()
Gets the synchronization capabilities of a datastore. |
CTInfo |
getTxPref()
Gets the CTInfo corresponds to <Tx-Pref> element |
java.util.Vector |
getTxs()
Gets an array of the supported type and version of the content type transmitted by the device |
boolean |
isSupportHierarchicalSync()
Gets the value of SupportHierarchicalSync property |
void |
setCTCaps(CTCap[] ctCaps)
Sets the array of content type capabilities |
void |
setCTCaps(java.util.Vector ctCaps)
Sets the array of content type capabilities |
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the datastore |
void |
setDSMem(DSMem dsMem)
Sets the maximum memory and item identifier for the datastore |
void |
setFilterCaps(FilterCap[] filterCaps)
Sets an array of filtering capabilities |
void |
setFilterCaps(java.util.Vector filterCaps)
Sets an array of filtering capabilities |
void |
setFilterRxs(CTInfo[] filterRxsCTI)
Sets an array of supported filter grammars that can be received by the datastore |
void |
setFilterRxs(java.util.Vector filterRxsCTI)
Sets an array of supported filter grammars that can be received by the datastore |
void |
setMaxGUIDSize(long maxGUIDSize)
Sets the maximum GUID size |
void |
setRxPref(CTInfo rxPref)
Sets the preferred type and version of the content type received by the device |
void |
setRxs(CTInfo[] rxsCTI)
Sets the supported type and version of a content type received by the device |
void |
setRxs(java.util.Vector rxsCTI)
Sets the supported type and version of a content type received by the device |
void |
setSourceRef(SourceRef sourceRef)
Sets the reference URI for a local datastore |
void |
setSupportHierarchicalSync(java.lang.Boolean supportHierarchicalSync)
Specify the support for hierarchical sync |
void |
setSyncCap(SyncCap syncCap)
Sets the synchronization capabilities of a datastore. |
void |
setTxPref(CTInfo txPref)
Sets the supported type and version of the content type transmitted by the device |
void |
setTxs(CTInfo[] txsCTI)
Sets an array of supported type and version of the content type transmitted by the device |
void |
setTxs(java.util.Vector txsCTI)
Sets an array of supported type and version of the content type transmitted by the device |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataStore()
public DataStore(SourceRef sourceRef, java.lang.String displayName, long maxGUIDSize, CTInfo rxPref, CTInfo[] rxs, CTInfo txPref, CTInfo[] txs, CTCap[] ctCaps, DSMem dsMem, boolean supportHierarchicalSync, SyncCap syncCap, CTInfo[] filterRxs, FilterCap[] filterCaps)
sourceRef
- The reference URI for a local datastore - NOT NULLdisplayName
- The display name of the datastoremaxGUIDSize
- The maximum GUID size. Set to -1 if the Maximum GUID
size is unknown or unspecified. Otherwise, this
parameter should be a positive number.rxPref
- The preferred type and version of the content type
received by the device - NOT NULLrxs
- An array of the supported type and version of the content type
received by the devicetxPref
- The supported type and version of the content type
transmitted by the device - NOT NULLtxs
- An array of the supported type and version of the content type
transmitted by the device - NOT NULLctCaps
- An array of content type capabilitiesdsMem
- The maximum memory and item identifier for the datastoresupportHierarchicalSync
- The support for hierarchical syncsyncCap
- The synchronization capabilities - NOT NULLfilterRxs
- An array of supported filter grammars that can be
received by the datastorefilterCaps
- An array of filtering capabilitiespublic DataStore(SourceRef sourceRef, java.lang.String displayName, long maxGUIDSize, CTInfo rxPref, CTInfo[] rxs, CTInfo txPref, CTInfo[] txs, DSMem dsMem, SyncCap syncCap)
sourceRef
- The reference URI for a local datastore - NOT NULLdisplayName
- The display name of the datastoremaxGUIDSize
- The maximum GUID size. Set to -1 if the Maximum GUID
size is unknown or unspecified. Otherwise, this
parameter should be a positive number.rxPref
- The preferred type and version of the content type
received by the device - NOT NULLrxs
- An array of the supported type and version of the content type
received by the devicetxPref
- The supported type and version of the content type
transmitted by the device - NOT NULLtxs
- An array of the supported type and version of the content type
transmitted by the device - NOT NULLdsMem
- The maximum memory and item identifier for the datastoresyncCap
- The synchronization capabilities - NOT NULLMethod Detail |
---|
public SourceRef getSourceRef()
public void setSourceRef(SourceRef sourceRef)
sourceRef
- the reference URIpublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName
- the display name of the datastorepublic long getMaxGUIDSize()
public void setMaxGUIDSize(long maxGUIDSize)
maxGUIDSize
- the maximum GUID sizepublic CTInfo getRxPref()
public void setRxPref(CTInfo rxPref)
rxPref
- the preferred type and version of a content typepublic java.util.Vector getRxs()
public void setRxs(CTInfo[] rxsCTI)
rxsCTI
- an array of supported type and version of a content typepublic void addRxs(CTInfo rxs)
public void setRxs(java.util.Vector rxsCTI)
rxsCTI
- an array of supported type and version of a content typepublic CTInfo getTxPref()
public void setTxPref(CTInfo txPref)
txPref
- the preferred type and version of a content typepublic java.util.Vector getTxs()
public void setTxs(CTInfo[] txsCTI)
txsCTI
- an array of supported type and version of a content typepublic void addTxs(CTInfo txs)
public void setTxs(java.util.Vector txsCTI)
txsCTI
- an array of supported type and version of a content typepublic java.util.Vector getCTCaps()
public void setCTCaps(CTCap[] ctCaps)
ctCaps
- the array of content type capabilitiespublic void setCTCaps(java.util.Vector ctCaps)
ctCaps
- the array of content type capabilitiespublic void addCTCap(CTCap ctCap)
public DSMem getDSMem()
public void setDSMem(DSMem dsMem)
dsMem
- the maximum memory and item identifier for the datastorepublic void setSupportHierarchicalSync(java.lang.Boolean supportHierarchicalSync)
supportHierarchicalSync
- the Boolean value of
SupportHierarchicalSync propertypublic boolean isSupportHierarchicalSync()
public java.lang.Boolean getSupportHierarchicalSync()
public SyncCap getSyncCap()
public void setSyncCap(SyncCap syncCap)
syncCap
- the synchronization capabilities of a datastorepublic java.util.Vector getFilterRxs()
public void setFilterRxs(CTInfo[] filterRxsCTI)
filterRxsCTI
- an array of supported filter grammarspublic void setFilterRxs(java.util.Vector filterRxsCTI)
filterRxsCTI
- an array of supported filter grammarspublic java.util.Vector getFilterCaps()
public void setFilterCaps(FilterCap[] filterCaps)
filterCaps
- an array of filtering capabilitiespublic void setFilterCaps(java.util.Vector filterCaps)
filterCaps
- an array of filtering capabilities
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |