|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The TabularData interface specifies the behaviour of a specific type of complex open data objects which represent tabular data structures
Method Summary | |
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. |
void |
clear()
|
boolean |
containsKey(java.lang.Object[] key)
|
boolean |
containsValue(CompositeData value)
|
boolean |
equals(java.lang.Object object)
|
CompositeData |
get(java.lang.Object[] key)
|
TabularType |
getTabularType()
|
int |
hashCode()
|
boolean |
isEmpty()
|
java.util.Set |
keySet()
|
void |
put(CompositeData value)
|
void |
putAll(CompositeData[] values)
|
CompositeData |
remove(java.lang.Object[] key)
|
int |
size()
|
java.lang.String |
toString()
|
java.util.Collection |
values()
|
Method Detail |
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
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.
java.lang.NullPointerException
- if index is null
InvalidOpenTypeException
- if index does not conform to this TabularData instance's rowTypepublic void clear()
public boolean containsKey(java.lang.Object[] key) throws InvalidOpenTypeException
InvalidOpenTypeException
public boolean containsValue(CompositeData value)
public boolean equals(java.lang.Object object)
public CompositeData get(java.lang.Object[] key) throws InvalidKeyException
InvalidKeyException
public TabularType getTabularType()
public int hashCode()
public boolean isEmpty()
public java.util.Set keySet()
public void put(CompositeData value) throws InvalidOpenTypeException, KeyAlreadyExistsException
InvalidOpenTypeException
KeyAlreadyExistsException
public void putAll(CompositeData[] values) throws InvalidOpenTypeException, KeyAlreadyExistsException
InvalidOpenTypeException
KeyAlreadyExistsException
public CompositeData remove(java.lang.Object[] key) throws InvalidKeyException
InvalidKeyException
public int size()
public java.lang.String toString()
public java.util.Collection values()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |