|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.management.openmbean.OpenType | +--javax.management.openmbean.TabularType
Fields inherited from class javax.management.openmbean.OpenType |
---|
ALLOWED_CLASSNAMES |
Constructor Summary | |
---|---|
TabularType(java.lang.String typeName,
java.lang.String description,
CompositeType rowType,
java.lang.String[] indexNames)
Constructs a TabularType instance |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
determines if the object passed in is equal to this class instance |
java.util.List |
getIndexNames()
|
CompositeType |
getRowType()
|
int |
hashCode()
computes a hashcode for this instance |
boolean |
isValue(java.lang.Object object)
checks if the typeName of the object is the same as the typeName of this TabularType instance |
java.lang.String |
toString()
creates a user friendly string value of the class |
Methods inherited from class javax.management.openmbean.OpenType |
---|
getClassName, getDescription, getTypeName, isArray |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TabularType(java.lang.String typeName, java.lang.String description, CompositeType rowType, java.lang.String[] indexNames) throws OpenDataException
Parameters:
typeName - the name given to this tabularType instance, cannot be null or empty
description - the human readable description of the tabularType this instance refers to cannot be null or empty
rowType - the type of the row elements of tabular data values described by this tabular type instance cannot be null
indexNames - the names of the items which are used to uniquely index each row element in the tabular data values, cannot be null or empty
- each element should be an item name defined in rowType.
- NOTE: The order of the itemNames is used by the methods get and remove of class TabularData to match their array of values to items
Throws:
IllegalArgumentException - if rowType is null, indexNames or any item in indexNames are null or empty, typeName or description are null
OpenDataException - if an element of indexNames is not an item defined in RowType
Method Detail |
public CompositeType getRowType()
public java.util.List getIndexNames()
public boolean isValue(java.lang.Object object)
isValue
in class OpenType
object
- - the tabularType instance to check if the typeName is a value of this instancepublic boolean equals(java.lang.Object object)
equals
in class OpenType
object
- the object to test if equal to this classpublic int hashCode()
hashCode
in class OpenType
public java.lang.String toString()
toString
in class OpenType
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |