Eclipse.org Eclipse.org Device Kit

Device Kit Attributes

Device Kit Attributes Elements XML Reference
NameDescription
abstractSpecifies an abstract implementation class. The default is false.
accessIf 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).
bundleSpecifies the Open Services Gateway Initiative (OSGi) bundle name.
bundleidSpecifies the Open Services Gateway Initiative (OSGi) bundle symbolic id.
cardinalitySpecifies the cardinality type.
codenameSpecifies the name in the code should be used instead of the Device Kit generated name.
createmethodSpecifies create method(s). The default is false.
defaultvalueThe default value to assign the variable.
errorSpecifies the measurement can report an error. The default is true.
executereadSpecifies the measurement supports executeRead. The default is true.
executewriteSpecifies 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.
executionenvironmentsSpecifies the Execution Environments for the bundle Manifest.
formatSpecifies the numeric format base of data. For instance, if the protocol''s specification are in hexadecimal format, this attribute should be set to ""hex"".
getSpecifies to generate get methods. The default is false unless abstract or lazy.
idSpecifies 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.
idrefSpecifies a reference to the element with the matching id attribute. The matching id attribute must be specified before the idref attribute can be used.
implementationSpecifies the implementation class name.
lang
lazySpecifies if the generated code should be lazy. The default is false.
listenSpecifies the containing object to listen to this measurement. The default is false.
monitortimeSpecifies the monitor time in milliseconds.
nameThe name/key of the custom variable.
oldSpecifies if old code should be generated. The default value is defined in the Device Kit preference settings.
packagebaseSpecifies 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"".
requiredSpecifies if required by the configuration.
serviceSpecifies the Open Services Gateway Initiative (OSGi) service interface name.
setvalueSpecifies 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.
sizeSpecifies the cardinality size.
superclassSpecifies the implementation super class name.
targetSpecifies the target. Default is 1000.
triggerSpecifies the signal supports trigger. The default is true.
triggeronreadcommandSpecifies to trigger the signal on read command. The default is true.
triggeronsetvalueSpecifies to trigger the signal on set value. The default is true.
typeRequired. The type of the custom variable.
usermessagebaseSpecifies the start of the user messages. Default is 1000.

Copyright (c) 2009 IBM. See license in Legal section. Device Kit XML Reference 1.2.0