Top Description Fields Constructors Methods
org.osgi.service.zigbee.types

public Class ZigBeeBag

extends Object
implements ZCLDataTypeDescription
Class Inheritance
All Implemented Interfaces
org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription
Imports
org.osgi.service.zigbee.ZigBeeDataTypes, org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription

A singleton class that represents the 'Bag' data type, as it is defined in the ZigBee Cluster Library specification.
Author
$Id: b50fe61bb4fe53b0c5f06b603532de18d6910484 $

Field Summary

Modifier and TypeField and Description
private static final ZigBeeBag

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public short
getId()

Implements org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription.getId.

Returns the data type identifier.

public static ZigBeeBag

Returns:

the singleton instance.
getInstance
()

Gets a singleton instance of this class.

public Class<?>
public String
getName()

Implements org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription.getName.

Returns the associated data type name.

public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instanceback to summary
private static final ZigBeeBag instance

Constructor Detail

ZigBeeBagback to summary
private ZigBeeBag()

Method Detail

getIdback to summary
public short getId()

Implements org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription.getId.

Doc from org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription.getId.

Returns the data type identifier.

Returns:short

the data type identifier. The data types identifiers supported by this specification are defined in the ZigBeeDataTypes interface.

Annotations
@Override
getInstanceback to summary
public static ZigBeeBag getInstance()

Gets a singleton instance of this class.

Returns:ZigBeeBag

the singleton instance.

getJavaDataTypeback to summary
public Class<?> getJavaDataType()

Implements org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription.getJavaDataType.

Doc from org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription.getJavaDataType.

Returns the corresponding Java type class.

Returns:Class<?>

the corresponding Java type class.

Annotations
@Override
getNameback to summary
public String getName()

Implements org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription.getName.

Doc from org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription.getName.

Returns the associated data type name.

Returns:String

the associated data type name string.

Annotations
@Override
isAnalogback to summary
public boolean isAnalog()

Implements org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription.isAnalog.

Doc from org.osgi.service.zigbee.descriptions.ZCLDataTypeDescription.isAnalog.

Checks if the data type is analog.

Returns:boolean

true, if the data type is Analog, otherwise is Discrete.

Annotations
@Override