| Name | Description |
|---|
| abstract | Specifies an abstract implementation class. The default is false. |
| access | If true, a class field, get method, and set method will be generated for the variable. If not specified, the default is true (changed in Version 1.2.0). |
| bundle | Specifies the Open Services Gateway Initiative (OSGi) bundle name. |
| bundleid | Specifies the Open Services Gateway Initiative (OSGi) bundle symbolic id. |
| cardinality | Specifies the cardinality type. |
| codename | Specifies the name in the code should be used instead of the Device Kit generated name. |
| createmethod | Specifies create method(s). The default is false. |
| defaultvalue | The default value to assign the variable. |
| error | Specifies the measurement can report an error. The default is true. |
| executeread | Specifies the measurement supports executeRead. The default is true. |
| executewrite | Specifies the measurement supports executeWrite. If both the setvalue and setwrite attributes are false, then the measurement is a read only measurement. The default is true. |
| executionenvironments | Specifies the Execution Environments for the bundle Manifest. |
| format | Specifies the numeric format base of data. For instance, if the protocol''s specification are in hexadecimal format, this attribute should be set to ""hex"". |
| get | Specifies to generate get methods. The default is false unless abstract or lazy. |
| id | Specifies an unique identifier for this element. After defining an element with the id attribute, other elements can reference this element by using the idref attribute. Since the id attribute value is used by the code generator to generate field and method names, no spaces, periods or commas should be used. |
| idref | Specifies a reference to the element with the matching id attribute. The matching id attribute must be specified before the idref attribute can be used. |
| implementation | Specifies the implementation class name. |
| lang | |
| lazy | Specifies if the generated code should be lazy. The default is false. |
| listen | Specifies the containing object to listen to this measurement. The default is false. |
| monitortime | Specifies the monitor time in milliseconds. |
| name | The name/key of the custom variable. |
| old | Specifies if old code should be generated. The default value is defined in the Device Kit preference settings. |
| packagebase | Specifies the start of the generated code''s package. That is, any code that Device Kit generates will be in a package starting with this value. A common value is ""com.company-name"". |
| required | Specifies if required by the configuration. |
| service | Specifies the Open Services Gateway Initiative (OSGi) service interface name. |
| setvalue | Specifies the measurement supports setValue. If both the setvalue and setwrite attributes are false, then the measurement is a read only measurement. The default is true. |
| size | Specifies the cardinality size. |
| superclass | Specifies the implementation super class name. |
| target | Specifies the target. Default is 1000. |
| trigger | Specifies the signal supports trigger. The default is true. |
| triggeronreadcommand | Specifies to trigger the signal on read command. The default is true. |
| triggeronsetvalue | Specifies to trigger the signal on set value. The default is true. |
| type | Required. The type of the custom variable. |
| usermessagebase | Specifies the start of the user messages. Default is 1000. |