| 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.
Default is false. |
| 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. |
| createmethod | Specifies create method(s). The default is false. |
| defaultvalue | Required. The default value to assign
the variable. |
| 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. |
| format | Specifies the numeric format base of
data. For instance, if the hardware'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. |
| 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 | Required. The name/key of the custom variable. |
| 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". |
| 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. |
| 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. |