|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncml.protocol.DevInf
public class DevInf
Corresponds to the &l;tDevInf> element in the SyncML devinf DTD
Constructor Summary | |
---|---|
DevInf()
In order to expose the server configuration like WS this constructor must be public |
|
DevInf(VerDTD verDTD,
java.lang.String man,
java.lang.String mod,
java.lang.String oem,
java.lang.String fwV,
java.lang.String swV,
java.lang.String hwV,
java.lang.String devID,
java.lang.String devTyp,
boolean utc,
boolean supportLargeObjs,
boolean supportNumberOfChanges,
boolean supportHierarchicalSync)
Creates a new DevInf object with the given parameter |
|
DevInf(VerDTD verDTD,
java.lang.String man,
java.lang.String mod,
java.lang.String oem,
java.lang.String fwV,
java.lang.String swV,
java.lang.String hwV,
java.lang.String devID,
java.lang.String devTyp,
boolean utc,
boolean supportLargeObjs,
boolean supportNumberOfChanges,
boolean supportHierarchicalSync,
DataStore[] dataStores,
CTCapV1[] ctCapsV1,
Ext[] exts)
Creates a new DevInf object with the given parameter |
|
DevInf(VerDTD verDTD,
java.lang.String man,
java.lang.String mod,
java.lang.String oem,
java.lang.String fwV,
java.lang.String swV,
java.lang.String hwV,
java.lang.String devID,
java.lang.String devTyp,
boolean utc,
boolean supportLargeObjs,
boolean supportNumberOfChanges,
boolean supportHierarchicalSync,
DataStore[] dataStores,
Ext[] exts)
Creates a new DevInf object with the given parameter |
Method Summary | |
---|---|
void |
addDataStore(DataStore dataStore)
|
void |
addExts(java.util.Vector exts)
Adds a set of external properties to the existing one. |
void |
deserialize(java.io.DataInputStream in)
|
java.util.Vector |
getCTCapsV1()
Gets the array of content type capability |
java.util.Vector |
getDataStores()
Gets the array of datastore |
java.lang.String |
getDevID()
Gets the identifier of the source synchronization device |
java.lang.String |
getDevTyp()
Gets the device type |
java.util.Vector |
getExts()
Gets the array of experimental extension |
java.lang.String |
getFwV()
Gets the firmware version property |
java.lang.String |
getHwV()
Gets the hardware version property |
java.lang.String |
getMan()
Gets the device manufacturer |
java.lang.String |
getMod()
Gets the model name or model number of device |
java.lang.String |
getOEM()
Gets the Original Equipment Manufacturer of the device |
java.lang.Boolean |
getSupportHierarchicalSync()
Gets the Boolean value of supportHierarchicalSync |
java.lang.Boolean |
getSupportLargeObjs()
Gets the Boolean value of supportLargeObjs |
java.lang.Boolean |
getSupportNumberOfChanges()
Gets the Boolean value of SupportNumberOfChanges |
java.lang.String |
getSwV()
Gets the software version property |
java.lang.Boolean |
getUTC()
Gets the Boolean value of utc |
VerDTD |
getVerDTD()
Gets the DTD version property |
boolean |
isSupportHierarchicalSync()
Gets true if the device supports hierarchical sync |
boolean |
isSupportLargeObjs()
Gets true if the device supports handling of large objects |
boolean |
isSupportNumberOfChanges()
Gets true if the device supports number of changes |
boolean |
isUTC()
Gets true if the device supports UTC based time |
void |
serialize(java.io.DataOutputStream out)
|
void |
setCTCapsV1(CTCapV1[] ctCapsV1)
Sets an array of content type capability |
void |
setCTCapsV1(java.util.Vector ctCapsV1)
Sets an array of content type capability |
void |
setDataStores(DataStore[] dataStores)
Sets an array of DataStore object |
void |
setDataStores(java.util.Vector dataStores)
Sets an array of DataStore |
void |
setDevID(java.lang.String devID)
Sets the identifier of the source synchronization device |
void |
setDevTyp(java.lang.String devTyp)
Sets the device type |
void |
setExts(Ext[] exts)
Sets an array of experimental extension objects |
void |
setExts(java.util.Vector exts)
Sets an array of experimental extension |
void |
setFwV(java.lang.String fwV)
Sets the firmware version property |
void |
setHwV(java.lang.String hwV)
Sets the hardware version property |
void |
setMan(java.lang.String man)
Sets the device manufacturer |
void |
setMod(java.lang.String mod)
Sets the device model name or model number of device |
void |
setOEM(java.lang.String oem)
Sets the Original Equipment Manufacturer of the device |
void |
setSupportHierarchicalSync(boolean supportHierarchicalSync)
Sets the SupportHierarchicalSync property |
void |
setSupportHierarchicalSync(java.lang.Boolean supportHierarchicalSync)
Sets the SupportHierarchicalSync property |
void |
setSupportLargeObjs(boolean supportLargeObjs)
Sets the SupportLargeObjs property |
void |
setSupportLargeObjs(java.lang.Boolean supportLargeObjs)
Sets the SupportLargeObjs property |
void |
setSupportNumberOfChanges(boolean supportNumberOfChanges)
Sets the SupportNumberOfChanges property |
void |
setSupportNumberOfChanges(java.lang.Boolean supportNumberOfChanges)
Sets the supportNumberOfChanges property |
void |
setSwV(java.lang.String swV)
Sets the software version property |
void |
setUTC(boolean utc)
Sets the UTC property |
void |
setUTC(java.lang.Boolean utc)
Sets the UTC property |
void |
setVerDTD(VerDTD verDTD)
Sets the DTD version property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DevInf()
public DevInf(VerDTD verDTD, java.lang.String man, java.lang.String mod, java.lang.String oem, java.lang.String fwV, java.lang.String swV, java.lang.String hwV, java.lang.String devID, java.lang.String devTyp, boolean utc, boolean supportLargeObjs, boolean supportNumberOfChanges, boolean supportHierarchicalSync, DataStore[] dataStores, CTCapV1[] ctCapsV1, Ext[] exts)
verDTD
- The DTD version - NOT NULLman
- The device manufacturer - NOT NULLmod
- The device model name or model number - NOT NULLoem
- The device OEM (Original Equipment Manufacturer)fwV
- The device firmware version - NOT NULLswV
- The device software version - NOT NULLhwV
- The device hardware version - NOT NULLdevID
- The identifier of the source synchronization device - NOT NULLdevTyp
- The device type - NOT NULLutc
- Specify if the device supports UTC based timesupportLargeObjs
- Specify if the device supports handling of large objectssupportNumberOfChanges
- Specify if the device supports number of changessupportHierarchicalSync
- Specify if the device supports hierarchical syncdataStores
- The array of datastore - NOT NULLctCapsV1
- The array of content type capabilityexts
- The array of experimental extensionpublic DevInf(VerDTD verDTD, java.lang.String man, java.lang.String mod, java.lang.String oem, java.lang.String fwV, java.lang.String swV, java.lang.String hwV, java.lang.String devID, java.lang.String devTyp, boolean utc, boolean supportLargeObjs, boolean supportNumberOfChanges, boolean supportHierarchicalSync, DataStore[] dataStores, Ext[] exts)
verDTD
- The DTD version - NOT NULLman
- The device manufacturer - NOT NULLmod
- The device model name or model number - NOT NULLoem
- The device OEM (Original Equipment Manufacturer)fwV
- The device firmware version - NOT NULLswV
- The device software version - NOT NULLhwV
- The device hardware version - NOT NULLdevID
- The identifier of the source synchronization device - NOT NULLdevTyp
- The device type - NOT NULLutc
- Specify if the device supports UTC based timesupportLargeObjs
- Specify if the device supports handling of large objectssupportNumberOfChanges
- Specify if the device supports number of changessupportHierarchicalSync
- Specify if the device supports hierarchical syncdataStores
- The array of datastore - NOT NULLexts
- The array of experimental extensionpublic DevInf(VerDTD verDTD, java.lang.String man, java.lang.String mod, java.lang.String oem, java.lang.String fwV, java.lang.String swV, java.lang.String hwV, java.lang.String devID, java.lang.String devTyp, boolean utc, boolean supportLargeObjs, boolean supportNumberOfChanges, boolean supportHierarchicalSync)
verDTD
- The DTD version - NOT NULLman
- The device manufacturer - NOT NULLmod
- The device model name or model number - NOT NULLoem
- The device OEM (Original Equipment Manufacturer)fwV
- The device firmware version - NOT NULLswV
- The device software version - NOT NULLhwV
- The device hardware version - NOT NULLdevID
- The identifier of the source synchronization device - NOT NULLdevTyp
- The device type - NOT NULLutc
- Specify if the device supports UTC based timesupportLargeObjs
- Specify if the device supports handling of large objectssupportNumberOfChanges
- Specify if the device supports number of changessupportHierarchicalSync
- Specify if the device supports hierarchical syncMethod Detail |
---|
public VerDTD getVerDTD()
public void setVerDTD(VerDTD verDTD)
verDTD
- the DTD versionpublic java.lang.String getMan()
public void setMan(java.lang.String man)
man
- the device manufacturerpublic java.lang.String getMod()
public void setMod(java.lang.String mod)
mod
- the device model name or model number of devicepublic java.lang.String getOEM()
public void setOEM(java.lang.String oem)
oem
- the Original Equipment Manufacturer of the devicepublic java.lang.String getFwV()
public void setFwV(java.lang.String fwV)
fwV
- the firmware version propertypublic java.lang.String getSwV()
public void setSwV(java.lang.String swV)
swV
- the software version propertypublic java.lang.String getHwV()
public void setHwV(java.lang.String hwV)
hwV
- the hardware version propertypublic java.lang.String getDevID()
public void setDevID(java.lang.String devID)
devID
- the identifier of the source synchronization devicepublic java.lang.String getDevTyp()
public void setDevTyp(java.lang.String devTyp)
devTyp
- the device typepublic boolean isUTC()
public void setUTC(java.lang.Boolean utc)
utc
- is true if the device supports UTC based timepublic void setUTC(boolean utc)
utc
- is true if the device supports UTC based timepublic java.lang.Boolean getUTC()
public boolean isSupportLargeObjs()
public void setSupportLargeObjs(java.lang.Boolean supportLargeObjs)
supportLargeObjs
- is true if the device supports handling of large objectspublic void setSupportLargeObjs(boolean supportLargeObjs)
supportLargeObjs
- is true if the device supports handling of large objectspublic java.lang.Boolean getSupportLargeObjs()
public boolean isSupportNumberOfChanges()
public void setSupportNumberOfChanges(java.lang.Boolean supportNumberOfChanges)
supportNumberOfChanges
- is true if the device supports number of changespublic void setSupportNumberOfChanges(boolean supportNumberOfChanges)
supportNumberOfChanges
- is true if the device supports number of changespublic java.lang.Boolean getSupportNumberOfChanges()
public boolean isSupportHierarchicalSync()
public void setSupportHierarchicalSync(java.lang.Boolean supportHierarchicalSync)
supportHierarchicalSync
- is true if the device supports hierarchical syncpublic void setSupportHierarchicalSync(boolean supportHierarchicalSync)
supportHierarchicalSync
- is true if the device supports hierarchical syncpublic java.lang.Boolean getSupportHierarchicalSync()
public java.util.Vector getCTCapsV1()
public void setCTCapsV1(CTCapV1[] ctCapsV1)
ctCapsV1
- an array of content type capabilitypublic void setCTCapsV1(java.util.Vector ctCapsV1)
ctCapsV1
- an array of content type capabilitypublic java.util.Vector getDataStores()
public void setDataStores(DataStore[] dataStores)
dataStores
- an array of DataStore objectpublic void addDataStore(DataStore dataStore)
public void setDataStores(java.util.Vector dataStores)
dataStores
- an array of DataStorepublic java.util.Vector getExts()
public void setExts(Ext[] exts)
exts
- an array of experimental extension objectspublic void addExts(java.util.Vector exts)
exts
- an array of extensions to addpublic void setExts(java.util.Vector exts)
exts
- an array of experimental extensionpublic void serialize(java.io.DataOutputStream out) throws java.io.IOException
java.io.IOException
public void deserialize(java.io.DataInputStream in) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |