Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

oracle.adf.model.binding
Class DCBindingContainerValidationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by oracle.adf.model.binding.DCBindingContainerValidationEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
JUPanelValidationEvent

public class DCBindingContainerValidationEvent
extends java.util.EventObject

Implements EventObject that is passed to the DCBindingContainerValidationListeners in the various event methods. This class provides access to the current iterator binding, panel binding, current row, attribute being edited, and its new value, etc as the case may be for a particular event method.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DCBindingContainerValidationEvent(DCBindingContainer source, DCDataControl dc)
           
DCBindingContainerValidationEvent(DCBindingContainer source, DCIteratorBinding iterBinding, Row row)
           
DCBindingContainerValidationEvent(DCBindingContainerValidationEvent ev)
           
DCBindingContainerValidationEvent(DCControlBinding source, DCBindingContainer panel, DCIteratorBinding iterBinding, Row row, java.lang.String attrName, java.lang.Object value)
           
 
Method Summary
 java.lang.String getAttributeName()
           
 DCBindingContainer getBindingContainer()
           
 DCDataControl getDataControl()
           
 DCIteratorBinding getIteratorBinding()
           
 java.lang.Object getNewValue()
          If there's a modified new value set in this event return that otherwise return the new value.
 Row getRow()
           
 RowIterator getRowIterator()
           
 Transaction getTransaction()
           
 java.lang.Object getValue()
          Returns the 'new' attribute value as was sent into this event from the setAttributeInRow call If setNewValue is not called on this event, this value will be used to call setAttribute on the row.
 boolean isFindMode()
           
 void setNewValue(java.lang.Object val)
          Modified the new value that should be set for this attribute on the data row.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DCBindingContainerValidationEvent

public DCBindingContainerValidationEvent(DCControlBinding source,
                                         DCBindingContainer panel,
                                         DCIteratorBinding iterBinding,
                                         Row row,
                                         java.lang.String attrName,
                                         java.lang.Object value)

DCBindingContainerValidationEvent

public DCBindingContainerValidationEvent(DCBindingContainer source,
                                         DCIteratorBinding iterBinding,
                                         Row row)

DCBindingContainerValidationEvent

public DCBindingContainerValidationEvent(DCBindingContainer source,
                                         DCDataControl dc)

DCBindingContainerValidationEvent

public DCBindingContainerValidationEvent(DCBindingContainerValidationEvent ev)
Method Detail

getIteratorBinding

public final DCIteratorBinding getIteratorBinding()

getRowIterator

public final RowIterator getRowIterator()

getRow

public final Row getRow()

getAttributeName

public final java.lang.String getAttributeName()

getValue

public final java.lang.Object getValue()
Returns the 'new' attribute value as was sent into this event from the setAttributeInRow call If setNewValue is not called on this event, this value will be used to call setAttribute on the row.


setNewValue

public final void setNewValue(java.lang.Object val)
Modified the new value that should be set for this attribute on the data row.


getNewValue

public final java.lang.Object getNewValue()
If there's a modified new value set in this event return that otherwise return the new value. This value will be used to update the row data using setAttribute method.


getTransaction

public final Transaction getTransaction()

getBindingContainer

public final DCBindingContainer getBindingContainer()

getDataControl

public final DCDataControl getDataControl()

isFindMode

public final boolean isFindMode()

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

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