com.funambol.syncml.spds
Class DeviceConfig

java.lang.Object
  extended by com.funambol.syncml.spds.DeviceConfig

public class DeviceConfig
extends java.lang.Object

This class groups all configuration properties related to the device. Most of DeviceConfig properties are used to generate the

element for client capabilities. DeviceConfig is a part of SyncConfig.


Field Summary
 java.lang.String devID
          Specifies the identifier of the source synchronization device.
 java.lang.String devType
          Specifies the type of the source synchronization device.
 java.lang.String dsV
          Specifies the implemented DS version.
 java.lang.String fwv
          Specifies the firmware version of the device.
 java.lang.String hwv
          Specifies the hardware version of the device.
 boolean loSupport
          Specifies that the device supports handling of large objects.
 java.lang.String man
          Specifies the name of the manufacturer of the device.
 int maxMsgSize
          Specifies the maximum message size allowed by the device.
 int maxObjSize
          Specifies the maximum object size allowed by the device.
 java.lang.String mod
          Specifies the model name or model number of the device.
 boolean nocSupport
          Specifies that the device supports number of changes.
 java.lang.String oem
          Specifies the OEM (Original Equipment Manufacturer) of the device.
 java.lang.String swv
          Specifies the software version of the device.
 boolean utc
          Specifies that the device supports UTC based time.
 java.lang.String verDTD
          Specifies the major and minor version identifier of the Device Information DTD used in the representation of the Device Information.
 
Constructor Summary
DeviceConfig()
          Default constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verDTD

public java.lang.String verDTD
Specifies the major and minor version identifier of the Device Information DTD used in the representation of the Device Information. The value MUST be "1.1". This property is mandatory.


man

public java.lang.String man
Specifies the name of the manufacturer of the device. Mandatory


mod

public java.lang.String mod
Specifies the model name or model number of the device. Mandatory


oem

public java.lang.String oem
Specifies the OEM (Original Equipment Manufacturer) of the device. This property is optional.


fwv

public java.lang.String fwv
Specifies the firmware version of the device. Mandatory


swv

public java.lang.String swv
Specifies the software version of the device. Mandatory


hwv

public java.lang.String hwv
Specifies the hardware version of the device. This property is optional.


devID

public java.lang.String devID
Specifies the identifier of the source synchronization device. The content information MUST specify a theoretically, globally unique identifier. This property is mandatory.


devType

public java.lang.String devType
Specifies the type of the source synchronization device. Type values for this element type can be e.g. "pager", "handheld", "pda", "phone", "smartphone", "server", "workstation". Other values can also be specified. This property is mandatory.


dsV

public java.lang.String dsV
Specifies the implemented DS version. This property is optional.


utc

public boolean utc
Specifies that the device supports UTC based time. If utc = TRUE, the server SHOULD send time in UTC format, else MUST send in local time. Default value = TRUE.


loSupport

public boolean loSupport
Specifies that the device supports handling of large objects. Default value = FALSE.


nocSupport

public boolean nocSupport
Specifies that the device supports number of changes. Default value = FALSE.


maxMsgSize

public int maxMsgSize
Specifies the maximum message size allowed by the device.


maxObjSize

public int maxObjSize
Specifies the maximum object size allowed by the device. Default value = 0 (no maxObjSize set).

Constructor Detail

DeviceConfig

public DeviceConfig()
Default constructor. All the mandatory informations are set to a default value, or to the values actually supported by the current SyncML implementation. The optional fields are set to null. TODO: get the values from the device configuration (e.g. IMEI)



Copyright © 2006 Funambol.