Business Components

oracle.jbo
Interface Row

All Known Subinterfaces:
Entity
All Known Implementing Classes:
RowImpl, ViewRowImpl

public interface Row
extends AttributeList, XMLInterface

Defines middle-tier access to table rows.

Since:
JDeveloper 3.0

Fields inherited from interface oracle.jbo.XMLInterface
XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE
 
Method Summary
 Key getKey()
          Gets the row's key.
 boolean isAttributeUpdateable(int index)
          Tests if an attribute is updateable.
 void lock()
          Locks the row.
 void remove()
          Removes the row.
 void validate()
          Invokes the validation methods defined for the row's Entity Object.
 
Methods inherited from interface oracle.jbo.AttributeList
getAttribute, getAttribute, getAttributeCount, getAttributeIndexOf, setAttribute, setAttribute
 
Methods inherited from interface oracle.jbo.XMLInterface
readXML, readXML, writeXML, writeXML
 

Method Detail

getKey

public Key getKey()
Gets the row's key.
Returns:
the row's Primary Key.

validate

public void validate()
Invokes the validation methods defined for the row's Entity Object.
Throws:
JboException, - a runtime exception, if the recipient wishes the property change to be rolled back.

lock

public void lock()
Locks the row.
Throws:
JboException, - a runtime exception, if an exception occurs during access.

remove

public void remove()
Removes the row.
Throws:
JboException, - a runtime exception, if an exception occurs during access.

isAttributeUpdateable

public boolean isAttributeUpdateable(int index)
Tests if an attribute is updateable.
Parameters:
index - the index of the attribute.
Returns:
true if the row is marked udpateable, or if the row is marked udpateable_while_new and the current row is new.

Business Components