|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.data.util.sqlcontainer.RowItem
public final class RowItem
RowItem represents one row of a result set obtained from a QueryDelegate. Note that depending on the QueryDelegate in use this does not necessarily map into an actual row in a database table.
| 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 | |
|---|---|
RowItem(SQLContainer container,
RowId id,
Collection<ColumnProperty> properties)
|
|
| Method Summary | |
|---|---|
boolean |
addItemProperty(Object id,
Property property)
Adding properties is not supported. |
void |
commit()
|
SQLContainer |
getContainer()
|
RowId |
getId()
|
Property |
getItemProperty(Object id)
Gets the Property corresponding to the given Property ID stored in the Item. |
Collection<?> |
getItemPropertyIds()
Gets the collection of IDs of all Properties stored in the Item. |
boolean |
isModified()
|
boolean |
removeItemProperty(Object id)
Removing properties is not supported. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RowItem(SQLContainer container,
RowId id,
Collection<ColumnProperty> properties)
| Method Detail |
|---|
public Property getItemProperty(Object id)
Itemnull is
returned.
getItemProperty in interface Itemid - identifier of the Property to get
nullpublic Collection<?> getItemPropertyIds()
Item
getItemPropertyIds in interface Item
public boolean addItemProperty(Object id,
Property property)
throws UnsupportedOperationException
addItemProperty in interface Itemid - ID of the new Propertyproperty - the Property to be added and associated with the id
true if the operation succeeded, false
if not
UnsupportedOperationException - if the operation is not supported.
public boolean removeItemProperty(Object id)
throws UnsupportedOperationException
removeItemProperty in interface Itemid - ID of the Property to be removed
true if the operation succeeded
UnsupportedOperationException - if the operation is not supported. false if notpublic RowId getId()
public SQLContainer getContainer()
public boolean isModified()
public String toString()
toString in class Objectpublic void commit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||