Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.svcmsg
Interface DataRow

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
SvcMsgDataRow

public interface DataRow
extends java.io.Serializable

This interface is used to marshal row content between client and middle tier.


Field Summary
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.
 
Method Summary
 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.
 

Field Detail

ROW_OP_UPDATE

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.

See Also:
Constant Field Values

ROW_OP_INSERT

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.

See Also:
Constant Field Values

ROW_OP_DELETE

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.

See Also:
Constant Field Values
Method Detail

getOperation

int getOperation()
Returns the row operation.

Returns:
one of the ROW_OP_... constants or further extended operation id.

getAttribute

java.lang.Object getAttribute(int attrIndex)
Returns the attribute value.

Parameters:
attrIndex - attribute index.
Returns:
the attribute value.

getAttributes

java.lang.Object[] getAttributes()
Returns all attribute values.

Returns:
array of attribute values.

setAttribute

void setAttribute(int attrIndex,
                  java.lang.Object value)
Sets the attribute value.

Parameters:
attrIndex - attribute index.
value - the new attribute value.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

Copyright © 1997, 2011, Oracle. All rights reserved.