com.vaadin.data.util.sqlcontainer.


Class RowId

java.lang.Object
  com.vaadin.data.util.sqlcontainer.RowId

All Implemented Interfaces:

Serializable

Direct Known Subclasses:

ReadOnlyRowId, TemporaryRowId

public class RowId
extends Object
implements Serializable

RowId represents identifiers of a single database result set row. The data structure of a RowId is an Object array which contains the values of the primary key columns of the identified row. This allows easy equals() -comparison of RowItems.

See Also:

Serialized Form

Field Summary
protected  Object[] id
           
 
Constructor Summary
protected RowId()
          Prevent instantiation without required parameters.
RowId(Object[] id)
           
 
Method Summary
 boolean equals(Object obj)
           
 Object[] getId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected Object[] id
Constructor Detail

RowId

protected RowId()

Prevent instantiation without required parameters.

RowId

public RowId(Object[] id)
Method Detail

getId

public Object[] getId()

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object