Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.adf.model.binding
Class DCBindingContainerValidationEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byoracle.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 ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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