javax.management.openmbean
Interface TabularData
- All Known Implementing Classes:
- TabularDataSupport
- public interface TabularData
The TabularData interface specifies the behaviour of a specific type of complex open data objects which represent tabular data structures
calculateIndex
public java.lang.Object[] calculateIndex(CompositeData index)
Calculates the index that would be used in this TabularData instance to refer to the specified CompositeData value parameter, if it were added.
This method checks for the type validity of the specified value, but does not check if the calculated index is already used to refer to a value in this TabularData instance
- Parameters:
index
- the CompositeData value whose index in this TabularData instance is to be calculated. It must be of the same composite type as this instances' rowType and cannot be null.- Returns:
- object[] value that the specified value would have in this TabulatData instance
- Throws:
NullPointerException
- if index is nullInvalidOpenTypeException
- if index does not conform to this TabularData instance's rowType
clear
public void clear()
containsKey
public boolean containsKey(java.lang.Object[] key)
throws InvalidOpenTypeException
containsValue
public boolean containsValue(CompositeData value)
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
get
public CompositeData get(java.lang.Object[] key)
throws InvalidKeyException
getTabularType
public TabularType getTabularType()
- Returns:
- the tabularType that desribes this particular instance
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
isEmpty
public boolean isEmpty()
keySet
public java.util.Set keySet()
put
public void put(CompositeData value)
throws InvalidOpenTypeException,
KeyAlreadyExistsException
putAll
public void putAll(CompositeData[] values)
throws InvalidOpenTypeException,
KeyAlreadyExistsException
remove
public CompositeData remove(java.lang.Object[] key)
throws InvalidKeyException
size
public int size()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
values
public java.util.Collection values()
Copyright © 2001-2002 MX4J Team. All Rights Reserved.