|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.openmbean.OpenType javax.management.openmbean.TabularType
The TabularType is an OpenType that describes TabularData.
TabularData
,
Serialized FormField Summary |
Fields inherited from class javax.management.openmbean.OpenType |
ALLOWED_CLASSNAMES |
Constructor Summary | |
TabularType(String typeName,
String description,
CompositeType rowType,
String[] indexNames)
Construct a tabular type. |
Method Summary | |
boolean |
equals(Object obj)
Tests for equality with another composite type |
List |
getIndexNames()
Retrieve an unmodifiable list of index names in the same order as passed to the constructor. |
CompositeType |
getRowType()
Retrieve the row type |
int |
hashCode()
Retrieve the hashCode for this OpenType |
boolean |
isValue(Object obj)
Determines whether the object is a value of the this tabular type. |
String |
toString()
Retrieve a string representation of this open type |
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(String typeName, String description, CompositeType rowType, String[] indexNames) throws OpenDataException
getClassName() returns javax.management.openbean.TabularData
typeName
- the name of the tabular type, cannot be null or
emptydescription
- the human readable description of the tabular type,
cannot be null or emptyrowType
- the type of the row elements in the tabular data, cannot
be nullindexNames
- the names of the item values that uniquely index each
row element in the tabular data, cannot be null or empty. Each
element must be an item name in the rowType, nul or empty is not
allowed. The order of the item names in this parameter is used
by TabularData.get(java.lang.Object[])
and TabularData.remove(java.lang.Object[])
the
TabularData to match the array of values to items.
OpenDataException
- when an element of indexNames is not defined
in rowType.
IllegalArgumentException
- when a parameter does not match
what is described above.Method Detail |
public CompositeType getRowType()
public List getIndexNames()
public boolean isValue(Object obj)
The object must not be null and it must be an instance of javax.management.openbean.TabularData. The TabularType of the TabularData have equality with this TabularType.
obj
- the object to test
public boolean equals(Object obj)
The type names must be equal.
The row types are equal
The index names are the same and in the same order.
obj
- the other tabular type to test
public int hashCode()
OpenType
public String toString()
OpenType
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |