com.vaadin.data.util.sqlcontainer
Class RowId

java.lang.Object
  extended by com.vaadin.data.util.sqlcontainer.RowId
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ReadOnlyRowId, TemporaryRowId

public class RowId
extends java.lang.Object
implements java.io.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  java.lang.Object[] id
           
 
Constructor Summary
protected RowId()
          Prevent instantiation without required parameters.
  RowId(java.lang.Object... id)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object[] getId()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected java.lang.Object[] id
Constructor Detail

RowId

protected RowId()
Prevent instantiation without required parameters.


RowId

public RowId(java.lang.Object... id)
Method Detail

getId

public java.lang.Object[] getId()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.