|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompositeData
An Open Data Type for composite data structures.
CompositeDataSupport
Method Summary | |
---|---|
boolean |
containsKey(String key)
Tests whether a key is part of this composite data |
boolean |
containsValue(Object value)
Tests whether a item exists with the passed value |
boolean |
equals(Object obj)
Tests whether two composite data objects are equal |
Object |
get(String key)
Retrieve the value for the item with the passed key |
Object[] |
getAll(String[] key)
Retrieve the arrray of values for the item with the passed keys |
CompositeType |
getCompositeType()
Retrieve the composite type for this composite data |
int |
hashCode()
Generates a hashcode for the implementation. |
String |
toString()
A string representation of the open mbean operation info. |
Collection |
values()
The values of this composite data |
Method Detail |
---|
CompositeType getCompositeType()
Object get(String key)
the
- key to the item
IllegalArgumentException
- when the key is null or the empty
string
InvalidKeyException
- when the key does not existObject[] getAll(String[] key)
an
- array of key values
IllegalArgumentException
- when a key is null or the empty
string or the array is null
InvalidKeyException
- when a key does not existboolean containsKey(String key)
the
- key to test
boolean containsValue(Object value)
the
- value to test
Collection values()
An iterator over the returned collection returns result in ascending lexicographic order
boolean equals(Object obj)
The object is non-null
The object implements this interface
The composite types are equal
The values are equal
equals
in class Object
obj
- the object to test
int hashCode()
The sum of the hashCodes for the elements mentioned in the equals method
hashCode
in class Object
String toString()
It is made up of implementation class and the values mentioned in the equals method
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |