public class Rowset
extends java.lang.Object
implements java.io.Serializable
Row
. An object of this class will represent
information corresponding to one or more rows of a database table.Row
,
Serialized FormConstructor and Description |
---|
Rowset()
Creates an empty rowset object.
|
Modifier and Type | Method and Description |
---|---|
void |
addRow(Row row)
Adds the given row to the rowset.
|
int |
getObjectId()
Returns the id of the data object to which the rowset corresponds.
|
java.lang.String |
getObjectName()
Returns the name of the data object to which the rowset corresponds.
|
int |
getObjectType()
Returns the object type of object corresponding to the rowset.
|
java.util.List |
getRows()
Returns collection of rows present in the rowset.
|
java.lang.String |
getTableName()
Returns the physical table name of the database table corresponding to the rowset.
|
void |
setObjectId(int objectId)
Sets the id of the data object to which the rowset corresponds.
|
void |
setObjectName(java.lang.String objectName)
Sets the name of the data object to which the rowset corresponds.
|
void |
setObjectType(int objectType)
Sets the object type of object corresponding to the rowset.
|
void |
setRows(java.util.List rows)
Sets a collection of rows in the rowset.
|
void |
setTableName(java.lang.String tableName)
Sets the physical table name of the rowset.
|
public void addRow(Row row)
public java.util.List getRows()
Row
public void setRows(java.util.List rows)
rows
- list of Row
objects.public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
tableName
- A String denoting tableName of the rowset.public java.lang.String getObjectName()
public void setObjectName(java.lang.String objectName)
objectName
- A String denoting the name of the data object to which the rowset corresponds.public int getObjectId()
public void setObjectId(int objectId)
id
- An int denoting the id of the data object to which the rowset corresponds.public int getObjectType()
setObjectType(int)
public void setObjectType(int objectType)
objectType
-