|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.data.util.GeneratedPropertyContainer.GeneratedPropertyItem
protected class GeneratedPropertyContainer.GeneratedPropertyItem
Item implementation for generated properties.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.vaadin.data.Item |
---|
Item.Editor, Item.PropertySetChangeEvent, Item.PropertySetChangeListener, Item.PropertySetChangeNotifier, Item.Viewer |
Constructor Summary | |
---|---|
protected |
GeneratedPropertyContainer.GeneratedPropertyItem(java.lang.Object itemId,
Item item)
|
Method Summary | |
---|---|
boolean |
addItemProperty(java.lang.Object id,
Property property)
Tries to add a new Property into the Item. |
Property |
getItemProperty(java.lang.Object id)
Gets the Property corresponding to the given Property ID stored in the Item. |
java.util.Collection<?> |
getItemPropertyIds()
Gets the collection of IDs of all Properties stored in the Item. |
boolean |
removeItemProperty(java.lang.Object id)
Removes the Property identified by ID from the Item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected GeneratedPropertyContainer.GeneratedPropertyItem(java.lang.Object itemId, Item item)
Method Detail |
---|
public Property getItemProperty(java.lang.Object id)
Item
null
is
returned.
getItemProperty
in interface Item
id
- identifier of the Property to get
null
public java.util.Collection<?> getItemPropertyIds()
Item
getItemPropertyIds
in interface Item
public boolean addItemProperty(java.lang.Object id, Property property) throws java.lang.UnsupportedOperationException
Item
This functionality is optional.
addItemProperty
in interface Item
id
- ID of the new Propertyproperty
- the Property to be added and associated with the id
true
if the operation succeeded, false
if not
java.lang.UnsupportedOperationException
- if the operation is not supported.public boolean removeItemProperty(java.lang.Object id) throws java.lang.UnsupportedOperationException
Item
This functionality is optional.
removeItemProperty
in interface Item
id
- ID of the Property to be removed
true
if the operation succeeded
java.lang.UnsupportedOperationException
- if the operation is not supported. false
if not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |