com.ibm.sensorevent.model.generic
Class GenericGroup

java.lang.Object
  extended by com.ibm.sensorevent.model.generic.GenericGroup
All Implemented Interfaces:
IGenericGroup, java.io.Serializable
Direct Known Subclasses:
Group

public class GenericGroup
extends java.lang.Object
implements IGenericGroup, java.io.Serializable

A GenericGroup contains attributes and other groups. Each GenericGroup has a name used to identify the group.

The interface associated with this class is IGenericGroup.

See Also:
Serialized Form

Field Summary
protected  java.util.Map attributes
          The collection of attributes indexed by the attribute name
static java.lang.String COPYRIGHT
           
protected  java.util.Map groups
          The collection of groups indexed by the group name
protected  java.lang.String name
          The name of the GenericGroup
 
Constructor Summary
protected GenericGroup()
          Constructs a GenericGroup
protected GenericGroup(java.lang.String name)
          Constructs a GenericGroup with the specified name
 
Method Summary
 void addAttribute(IGenericAttribute attribute)
          Adds an attribute to this group's collection of attributes.
 void addAttributeArray(java.lang.String name, java.lang.Object[] value, int type)
           
 void addBooleanArrayAttribute(java.lang.String name, boolean[] value)
          Adds an attribute to this group's collection of attributes.
 void addBooleanAttribute(java.lang.String name, boolean value)
          Adds an attribute to this group's collection of attributes.
 void addByteArrayAttribute(java.lang.String name, byte[] b)
          Adds an attribute to this group's collection of attributes.
 void addByteAttribute(java.lang.String name, byte b)
          Adds an attribute to this group's collection of attributes.
 void addDateArrayAttribute(java.lang.String name, java.util.Date[] d)
          Adds an attribute to this group's collection of attributes.
 void addDateArrayAttributeAsLong(java.lang.String name, long[] l)
          Adds an attribute to this group's collection of attributes.
 void addDateAttribute(java.lang.String name, java.util.Date d)
          Adds an attribute to this group's collection of attributes.
 void addDateAttributeAsLong(java.lang.String name, long l)
          Adds an attribute to this group's collection of attributes.
 void addDoubleArrayAttribute(java.lang.String name, double[] d)
          Adds an attribute to this group's collection of attributes.
 void addDoubleAttribute(java.lang.String name, double d)
          Adds an attribute to this group's collection of attributes.
 void addFloatArrayAttribute(java.lang.String name, float[] f)
          Adds an attribute to this group's collection of attributes.
 void addFloatAttribute(java.lang.String name, float f)
          Adds an attribute to this group's collection of attributes.
 void addGroup(IGenericGroup group)
          Adds a subgroup to this group
 void addHexAttribute(java.lang.String name, byte[] b)
          Adds an attribute to this group's collection of attributes.
 void addHexAttribute(java.lang.String name, java.lang.String s)
          Adds an attribute to this group's collection of attributes.
 void addIntArrayAttribute(java.lang.String name, int[] i)
          Adds an attribute to this group's collection of attributes.
 void addIntAttribute(java.lang.String name, int i)
          Adds an attribute to this group's collection of attributes.
 void addLongArrayAttribute(java.lang.String name, long[] l)
          Adds an attribute to this group's collection of attributes.
 void addLongAttribute(java.lang.String name, long l)
          Adds an attribute to this group's collection of attributes.
 void addShortArrayAttribute(java.lang.String name, short[] s)
          Adds an attribute to this group's collection of attributes.
 void addShortAttribute(java.lang.String name, short s)
          Adds an attribute to this group's collection of attributes.
 void addStringArrayAttribute(java.lang.String name, java.lang.String[] s)
          Adds an attribute to this group's collection of attributes.
 void addStringAttribute(java.lang.String name, java.lang.String s)
          Adds an attribute to this group's collection of attributes.
 void createGroupPath(java.util.List path)
          Constructs the nested subgroups using the names specified in path.
 IGenericAttribute getAttribute(java.lang.String name)
          Returns the attribute from this group with the specified name
 java.util.Collection getAttributes()
          Returns this group's attributes as a collection of IGenericAttribute
 java.util.List getAttributesAsList()
          Returns this group's attributes as a list of IGenericAttribute
 boolean[] getBooleanAttributeArrayValue(java.lang.String name)
          Returns the boolean array attribute value from this group with the specified name
 boolean getBooleanAttributeValue(java.lang.String name)
          Returns the boolean attribute value from this group with the specified name
 byte[] getByteAttributeArrayValue(java.lang.String name)
          Returns the byte array attribute value from this group with the specified name
 byte getByteAttributeValue(java.lang.String name)
          Returns the byte attribute value from this group with the specified name
 java.util.Date[] getDateAttributeArrayValue(java.lang.String name)
          Returns the java.util.Date array attribute value from this group with the specified name
 long[] getDateAttributeArrayValueAsLong(java.lang.String name)
          Returns the java.util.Date values converted to long millisecond array attribute values from this group with the specified name
 java.util.Date getDateAttributeValue(java.lang.String name)
          Returns the java.util.Date attribute value from this group with the specified name
 long getDateAttributeValueAsLong(java.lang.String name)
          Returns the java.util.Date as a long millisecond attribute value from this group with the specified name
 double[] getDoubleAttributeArrayValue(java.lang.String name)
          Returns the double array attribute value from this group with the specified name
 double getDoubleAttributeValue(java.lang.String name)
          Returns the double attribute value from this group with the specified name
 float[] getFloatAttributeArrayValue(java.lang.String name)
          Returns the float array attribute value from this group with the specified name
 float getFloatAttributeValue(java.lang.String name)
          Returns the float attribute value from this group with the specified name
 IGenericGroup getGroup(java.lang.String name)
          Returns the subgroup with the specified name
 java.util.Collection getGroups()
          Returns this group's attributes as a collection of IGenericGroup
 java.util.List getGroupsAsList()
          Returns this group's attributes as a collection of IGenericGroup
 byte[] getHexAttributeValue(java.lang.String name)
          Returns the HexBinary byte array attribute value from this group with the specified name
 java.lang.String getHexAttributeValueAsString(java.lang.String name)
          Returns the HexBinary String attribute value from this group with the specified name
static IGenericGroup getInstance()
          Factory method to create a new IGenericGroup instance
static IGenericGroup getInstance(java.lang.String name)
          Factory method to create a new IGenericGroup instance
 int[] getIntAttributeArrayValue(java.lang.String name)
          Returns the int array attribute value from this group with the specified name
 int getIntAttributeValue(java.lang.String name)
          Returns the int attribute value from this group with the specified name
 long[] getLongAttributeArrayValue(java.lang.String name)
          Returns the long array attribute value from this group with the specified name
 long getLongAttributeValue(java.lang.String name)
          Returns the long attribute value from this group with the specified name
 java.lang.String getName()
          Returns the group's name
 short[] getShortAttributeArrayValue(java.lang.String name)
          Returns the short array attribute value from this group with the specified name
 short getShortAttributeValue(java.lang.String name)
          Returns the short attribute value from this group with the specified name
 java.lang.String[] getStringAttributeArrayValue(java.lang.String name)
          Returns the String array attribute value from this group with the specified name
 java.lang.String getStringAttributeValue(java.lang.String name)
          Returns the String attribute value from this group with the specified name
 void removeAttributes()
          Removes all attributes from this group
 void removeGroups()
          Removes all subgroups from this group
 void setAttributes(java.util.Collection attributes)
          Sets this group's collection of attributes
 void setGroups(java.util.Collection groups)
          Sets this group's collection of subgroups
 void setName(java.lang.String name)
          Sets the name of this group
 java.lang.String toString()
          Returns a string representation of this attribute (for debug purposes)
 IGenericGroup traverseGroupPath(java.util.List path)
          Returns the last nested subgroup specified in path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

name

protected volatile java.lang.String name
The name of the GenericGroup


attributes

protected volatile java.util.Map attributes
The collection of attributes indexed by the attribute name


groups

protected volatile java.util.Map groups
The collection of groups indexed by the group name

Constructor Detail

GenericGroup

protected GenericGroup()
Constructs a GenericGroup


GenericGroup

protected GenericGroup(java.lang.String name)
                throws SensorEventException
Constructs a GenericGroup with the specified name

Parameters:
name - the name of the group
Throws:
SensorEventException
Method Detail

getInstance

public static IGenericGroup getInstance()
                                 throws SensorEventException
Factory method to create a new IGenericGroup instance

Calling this method is not allowed. This implementation always throws an exception to prevent resolving to a superclass method.

Throws:
SensorEventException

getInstance

public static IGenericGroup getInstance(java.lang.String name)
                                 throws SensorEventException
Factory method to create a new IGenericGroup instance

Parameters:
name - the name of the group
Throws:
SensorEventException

getName

public java.lang.String getName()
Returns the group's name

Specified by:
getName in interface IGenericGroup

setName

public void setName(java.lang.String name)
             throws SensorEventException
Sets the name of this group

Specified by:
setName in interface IGenericGroup
Throws:
SensorEventException

addAttribute

public void addAttribute(IGenericAttribute attribute)
                  throws SensorEventException
Adds an attribute to this group's collection of attributes. Attributes are indexed by the attribute's name. Duplicate attribute names are overwritten.

Specified by:
addAttribute in interface IGenericGroup
Throws:
SensorEventException

addBooleanAttribute

public void addBooleanAttribute(java.lang.String name,
                                boolean value)
                         throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and boolean value.

Specified by:
addBooleanAttribute in interface IGenericGroup
Throws:
SensorEventException

addByteAttribute

public void addByteAttribute(java.lang.String name,
                             byte b)
                      throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and byte value.

Specified by:
addByteAttribute in interface IGenericGroup
Throws:
SensorEventException

addDateAttribute

public void addDateAttribute(java.lang.String name,
                             java.util.Date d)
                      throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and java.util.Date value.

Specified by:
addDateAttribute in interface IGenericGroup
Throws:
SensorEventException

addDateAttributeAsLong

public void addDateAttributeAsLong(java.lang.String name,
                                   long l)
                            throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and long millisecond value as a java.util.Date.

Specified by:
addDateAttributeAsLong in interface IGenericGroup
Throws:
SensorEventException

addDoubleAttribute

public void addDoubleAttribute(java.lang.String name,
                               double d)
                        throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and double value.

Specified by:
addDoubleAttribute in interface IGenericGroup
Throws:
SensorEventException

addFloatAttribute

public void addFloatAttribute(java.lang.String name,
                              float f)
                       throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and float value.

Specified by:
addFloatAttribute in interface IGenericGroup
Throws:
SensorEventException

addHexAttribute

public void addHexAttribute(java.lang.String name,
                            byte[] b)
                     throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and byte array value. The byte array is converted to a HexBinary string.

Specified by:
addHexAttribute in interface IGenericGroup
Throws:
SensorEventException

addHexAttribute

public void addHexAttribute(java.lang.String name,
                            java.lang.String s)
                     throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and HexBinary string value.

Specified by:
addHexAttribute in interface IGenericGroup
Throws:
SensorEventException
See Also:
HexBinary

addIntAttribute

public void addIntAttribute(java.lang.String name,
                            int i)
                     throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and int value.

Specified by:
addIntAttribute in interface IGenericGroup
Throws:
SensorEventException

addLongAttribute

public void addLongAttribute(java.lang.String name,
                             long l)
                      throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and long value.

Specified by:
addLongAttribute in interface IGenericGroup
Throws:
SensorEventException

addShortAttribute

public void addShortAttribute(java.lang.String name,
                              short s)
                       throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and short value.

Specified by:
addShortAttribute in interface IGenericGroup
Throws:
SensorEventException

addStringAttribute

public void addStringAttribute(java.lang.String name,
                               java.lang.String s)
                        throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and String value.

Specified by:
addStringAttribute in interface IGenericGroup
Throws:
SensorEventException

addBooleanArrayAttribute

public void addBooleanArrayAttribute(java.lang.String name,
                                     boolean[] value)
                              throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and boolean array values.

Specified by:
addBooleanArrayAttribute in interface IGenericGroup
Throws:
SensorEventException

addByteArrayAttribute

public void addByteArrayAttribute(java.lang.String name,
                                  byte[] b)
                           throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and byte array values.

Specified by:
addByteArrayAttribute in interface IGenericGroup
Throws:
SensorEventException

addDateArrayAttribute

public void addDateArrayAttribute(java.lang.String name,
                                  java.util.Date[] d)
                           throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and java.util.Date array values.

Specified by:
addDateArrayAttribute in interface IGenericGroup
Throws:
SensorEventException

addDateArrayAttributeAsLong

public void addDateArrayAttributeAsLong(java.lang.String name,
                                        long[] l)
                                 throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and long array values converted to java.util.Date values.

Specified by:
addDateArrayAttributeAsLong in interface IGenericGroup
Throws:
SensorEventException

addDoubleArrayAttribute

public void addDoubleArrayAttribute(java.lang.String name,
                                    double[] d)
                             throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and double array values.

Specified by:
addDoubleArrayAttribute in interface IGenericGroup
Throws:
SensorEventException

addFloatArrayAttribute

public void addFloatArrayAttribute(java.lang.String name,
                                   float[] f)
                            throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and float array values.

Specified by:
addFloatArrayAttribute in interface IGenericGroup
Throws:
SensorEventException

addIntArrayAttribute

public void addIntArrayAttribute(java.lang.String name,
                                 int[] i)
                          throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and int array values.

Specified by:
addIntArrayAttribute in interface IGenericGroup
Throws:
SensorEventException

addLongArrayAttribute

public void addLongArrayAttribute(java.lang.String name,
                                  long[] l)
                           throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and long array values.

Specified by:
addLongArrayAttribute in interface IGenericGroup
Throws:
SensorEventException

addShortArrayAttribute

public void addShortArrayAttribute(java.lang.String name,
                                   short[] s)
                            throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and short array values.

Specified by:
addShortArrayAttribute in interface IGenericGroup
Throws:
SensorEventException

addStringArrayAttribute

public void addStringArrayAttribute(java.lang.String name,
                                    java.lang.String[] s)
                             throws SensorEventException
Adds an attribute to this group's collection of attributes. The attribute is created using the specified name and String array values.

Specified by:
addStringArrayAttribute in interface IGenericGroup
Throws:
SensorEventException

getAttribute

public IGenericAttribute getAttribute(java.lang.String name)
                               throws SensorEventException
Returns the attribute from this group with the specified name

Specified by:
getAttribute in interface IGenericGroup
Throws:
SensorEventException

getBooleanAttributeValue

public boolean getBooleanAttributeValue(java.lang.String name)
                                 throws SensorEventException
Returns the boolean attribute value from this group with the specified name

Specified by:
getBooleanAttributeValue in interface IGenericGroup
Throws:
SensorEventException

getByteAttributeValue

public byte getByteAttributeValue(java.lang.String name)
                           throws SensorEventException
Returns the byte attribute value from this group with the specified name

Specified by:
getByteAttributeValue in interface IGenericGroup
Throws:
SensorEventException

getDateAttributeValue

public java.util.Date getDateAttributeValue(java.lang.String name)
                                     throws SensorEventException
Returns the java.util.Date attribute value from this group with the specified name

Specified by:
getDateAttributeValue in interface IGenericGroup
Throws:
SensorEventException

getDateAttributeValueAsLong

public long getDateAttributeValueAsLong(java.lang.String name)
                                 throws SensorEventException
Returns the java.util.Date as a long millisecond attribute value from this group with the specified name

Specified by:
getDateAttributeValueAsLong in interface IGenericGroup
Throws:
SensorEventException

getDoubleAttributeValue

public double getDoubleAttributeValue(java.lang.String name)
                               throws SensorEventException
Returns the double attribute value from this group with the specified name

Specified by:
getDoubleAttributeValue in interface IGenericGroup
Throws:
SensorEventException

getFloatAttributeValue

public float getFloatAttributeValue(java.lang.String name)
                             throws SensorEventException
Returns the float attribute value from this group with the specified name

Specified by:
getFloatAttributeValue in interface IGenericGroup
Throws:
SensorEventException

getHexAttributeValue

public byte[] getHexAttributeValue(java.lang.String name)
                            throws SensorEventException
Returns the HexBinary byte array attribute value from this group with the specified name

Specified by:
getHexAttributeValue in interface IGenericGroup
Throws:
SensorEventException
See Also:
HexBinary

getHexAttributeValueAsString

public java.lang.String getHexAttributeValueAsString(java.lang.String name)
                                              throws SensorEventException
Returns the HexBinary String attribute value from this group with the specified name

Specified by:
getHexAttributeValueAsString in interface IGenericGroup
Throws:
SensorEventException
See Also:
HexBinary

getIntAttributeValue

public int getIntAttributeValue(java.lang.String name)
                         throws SensorEventException
Returns the int attribute value from this group with the specified name

Specified by:
getIntAttributeValue in interface IGenericGroup
Throws:
SensorEventException

getLongAttributeValue

public long getLongAttributeValue(java.lang.String name)
                           throws SensorEventException
Returns the long attribute value from this group with the specified name

Specified by:
getLongAttributeValue in interface IGenericGroup
Throws:
SensorEventException

getShortAttributeValue

public short getShortAttributeValue(java.lang.String name)
                             throws SensorEventException
Returns the short attribute value from this group with the specified name

Specified by:
getShortAttributeValue in interface IGenericGroup
Throws:
SensorEventException

getStringAttributeValue

public java.lang.String getStringAttributeValue(java.lang.String name)
                                         throws SensorEventException
Returns the String attribute value from this group with the specified name

Specified by:
getStringAttributeValue in interface IGenericGroup
Throws:
SensorEventException

getBooleanAttributeArrayValue

public boolean[] getBooleanAttributeArrayValue(java.lang.String name)
                                        throws SensorEventException
Returns the boolean array attribute value from this group with the specified name

Specified by:
getBooleanAttributeArrayValue in interface IGenericGroup
Throws:
SensorEventException

getByteAttributeArrayValue

public byte[] getByteAttributeArrayValue(java.lang.String name)
                                  throws SensorEventException
Returns the byte array attribute value from this group with the specified name

Specified by:
getByteAttributeArrayValue in interface IGenericGroup
Throws:
SensorEventException

getDateAttributeArrayValue

public java.util.Date[] getDateAttributeArrayValue(java.lang.String name)
                                            throws SensorEventException
Returns the java.util.Date array attribute value from this group with the specified name

Specified by:
getDateAttributeArrayValue in interface IGenericGroup
Throws:
SensorEventException

getDateAttributeArrayValueAsLong

public long[] getDateAttributeArrayValueAsLong(java.lang.String name)
                                        throws SensorEventException
Returns the java.util.Date values converted to long millisecond array attribute values from this group with the specified name

Specified by:
getDateAttributeArrayValueAsLong in interface IGenericGroup
Throws:
SensorEventException

getDoubleAttributeArrayValue

public double[] getDoubleAttributeArrayValue(java.lang.String name)
                                      throws SensorEventException
Returns the double array attribute value from this group with the specified name

Specified by:
getDoubleAttributeArrayValue in interface IGenericGroup
Throws:
SensorEventException

getFloatAttributeArrayValue

public float[] getFloatAttributeArrayValue(java.lang.String name)
                                    throws SensorEventException
Returns the float array attribute value from this group with the specified name

Specified by:
getFloatAttributeArrayValue in interface IGenericGroup
Throws:
SensorEventException

getIntAttributeArrayValue

public int[] getIntAttributeArrayValue(java.lang.String name)
                                throws SensorEventException
Returns the int array attribute value from this group with the specified name

Specified by:
getIntAttributeArrayValue in interface IGenericGroup
Throws:
SensorEventException

getLongAttributeArrayValue

public long[] getLongAttributeArrayValue(java.lang.String name)
                                  throws SensorEventException
Returns the long array attribute value from this group with the specified name

Specified by:
getLongAttributeArrayValue in interface IGenericGroup
Throws:
SensorEventException

getShortAttributeArrayValue

public short[] getShortAttributeArrayValue(java.lang.String name)
                                    throws SensorEventException
Returns the short array attribute value from this group with the specified name

Specified by:
getShortAttributeArrayValue in interface IGenericGroup
Throws:
SensorEventException

getStringAttributeArrayValue

public java.lang.String[] getStringAttributeArrayValue(java.lang.String name)
                                                throws SensorEventException
Returns the String array attribute value from this group with the specified name

Specified by:
getStringAttributeArrayValue in interface IGenericGroup
Throws:
SensorEventException

getAttributes

public java.util.Collection getAttributes()
Returns this group's attributes as a collection of IGenericAttribute

Specified by:
getAttributes in interface IGenericGroup

getAttributesAsList

public java.util.List getAttributesAsList()
Returns this group's attributes as a list of IGenericAttribute

Specified by:
getAttributesAsList in interface IGenericGroup

setAttributes

public void setAttributes(java.util.Collection attributes)
                   throws SensorEventException
Sets this group's collection of attributes

Specified by:
setAttributes in interface IGenericGroup
Throws:
SensorEventException

removeAttributes

public void removeAttributes()
Removes all attributes from this group

Specified by:
removeAttributes in interface IGenericGroup

addGroup

public void addGroup(IGenericGroup group)
              throws SensorEventException
Adds a subgroup to this group

Specified by:
addGroup in interface IGenericGroup
Throws:
SensorEventException

getGroup

public IGenericGroup getGroup(java.lang.String name)
                       throws SensorEventException
Returns the subgroup with the specified name

Specified by:
getGroup in interface IGenericGroup
Throws:
SensorEventException

getGroups

public java.util.Collection getGroups()
Returns this group's attributes as a collection of IGenericGroup

Specified by:
getGroups in interface IGenericGroup

getGroupsAsList

public java.util.List getGroupsAsList()
Returns this group's attributes as a collection of IGenericGroup

Specified by:
getGroupsAsList in interface IGenericGroup

setGroups

public void setGroups(java.util.Collection groups)
               throws SensorEventException
Sets this group's collection of subgroups

Specified by:
setGroups in interface IGenericGroup
Throws:
SensorEventException

removeGroups

public void removeGroups()
Removes all subgroups from this group

Specified by:
removeGroups in interface IGenericGroup

createGroupPath

public void createGroupPath(java.util.List path)
                     throws SensorEventException
Constructs the nested subgroups using the names specified in path. If path contains strings "A", "B", "C", this group will have subgroup A which contains subgroup B which contains subgroup C.

Specified by:
createGroupPath in interface IGenericGroup
Throws:
SensorEventException

traverseGroupPath

public IGenericGroup traverseGroupPath(java.util.List path)
                                throws SensorEventException
Returns the last nested subgroup specified in path. If this group contains subgroup A which contains subgroup B which contains subgroup C, a path containing strings "A", "B", "C" returns group C.

Specified by:
traverseGroupPath in interface IGenericGroup
Throws:
SensorEventException

addAttributeArray

public void addAttributeArray(java.lang.String name,
                              java.lang.Object[] value,
                              int type)
                       throws SensorEventException
Specified by:
addAttributeArray in interface IGenericGroup
Throws:
SensorEventException

toString

public java.lang.String toString()
Returns a string representation of this attribute (for debug purposes)

Overrides:
toString in class java.lang.Object


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.