public interface DataRow
extends java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
ROW_OP_DELETE
ROW_OP_... constants denote the operation to
be performed on the row. |
static int |
ROW_OP_INSERT
ROW_OP_... constants denote the operation to
be performed on the row. |
static int |
ROW_OP_UPDATE
ROW_OP_... constants denote the operation to
be performed on the row. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAttribute(int attrIndex)
Returns the attribute value.
|
java.lang.Object[] |
getAttributes()
Returns all attribute values.
|
int |
getOperation()
Returns the row operation.
|
void |
setAttribute(int attrIndex,
java.lang.Object value)
Sets the attribute value.
|
static final int ROW_OP_UPDATE
ROW_OP_... constants denote the operation to
be performed on the row.
ROW_OP_UPDATE designates that the row is to be
updated with the data values contains in this data row.
static final int ROW_OP_INSERT
ROW_OP_... constants denote the operation to
be performed on the row.
ROW_OP_UPDATE designates that a new row is to be
created and inserted with the data values contains in this data row.
static final int ROW_OP_DELETE
ROW_OP_... constants denote the operation to
be performed on the row.
ROW_OP_UPDATE designates that the row is to
be deleted.
int getOperation()
ROW_OP_... constants or further
extended operation id.java.lang.Object getAttribute(int attrIndex)
attrIndex - attribute index.java.lang.Object[] getAttributes()
void setAttribute(int attrIndex,
java.lang.Object value)
attrIndex - attribute index.value - the new attribute value.