|
JBoss Managed Parent POM 2.1.1.SP2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableValue
TableValue.
Method Summary | |
---|---|
MetaValue[] |
calculateIndex(CompositeValue value)
Calculate the index for the value passed if it were added to the table value. |
void |
clear()
Removes all CompositeValues from the Table value |
boolean |
containsKey(MetaValue[] key)
Determine whether the table value contains the passed value as a row. |
boolean |
containsValue(CompositeValue value)
Determine whether the table value contains the passed value. |
CompositeValue |
get(MetaValue[] key)
Retrieve the composite value for the passed index. |
TableMetaType |
getMetaType()
Get the metatype for this value |
boolean |
isEmpty()
Determine whether the table value is empty. |
Set<List<MetaValue>> |
keySet()
Returns a set view of the index values. |
void |
put(CompositeValue value)
Add a value to the table value. |
void |
putAll(CompositeValue[] values)
Add all the passed values. |
CompositeValue |
remove(MetaValue[] key)
Removes the value for the passed and returns the removed value, or null if the key was not present. |
int |
size()
Retrieve the number of rows in the table value. |
Collection<CompositeValue> |
values()
Returns a set view of the row values. |
Methods inherited from interface org.jboss.metatype.api.values.MetaValue |
---|
clone |
Method Detail |
---|
TableMetaType getMetaType()
MetaValue
getMetaType
in interface MetaValue
MetaValue[] calculateIndex(CompositeValue value)
value
- the value for which the index is calculated.
IllegalArgumentException
- for a null value or when the passed value is not valid for the table value's row type.int size()
boolean isEmpty()
boolean containsKey(MetaValue[] key)
key
- the value to check
boolean containsValue(CompositeValue value)
value
- the value to check
CompositeValue get(MetaValue[] key)
key
- the index to retrieve
IllegalArgumentException
- when the passed key is null or when the passed key does match the row type of the table value.void put(CompositeValue value)
value
- the value to add
IllegalArgumentException
- when the passed value is null or when the value is not valid for
the row type of the tabular data or when the index for the value is already occupied.CompositeValue remove(MetaValue[] key)
key
- the index of the value to remove
IllegalArgumentException
- when the passed key is null or when the key is not valid for the table valuevoid putAll(CompositeValue[] values)
values
- the values to add
IllegalArgumentException
- when the passed values is null or an element of the values is null
or when one of value is not valid for the row type of the table value or when
the index for one of the values is already occupied.void clear()
Set<List<MetaValue>> keySet()
Collection<CompositeValue> values()
|
JBoss Managed Parent POM 2.1.1.SP2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |