|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.rules.JboValidatorContext
A "PropertyChange" event gets delivered whenever a bean changes a "bound" or "constrained" property. A JboValidatorContext object is sent as an argument to the PropertyChangeListener and VetoableChangeListener methods.
Normally JboValidatorContexts are accompanied by the name and the old and new value of the changed property. If the new value is a builtin type (such as int or boolean) it must be wrapped as the corresponding java.lang.* Object type (such as Integer or Boolean).
Null values may be provided for the old and the new values if their true values are not known.
An event source may send a null object as the name to indicate that an arbitrary set of if its properties have changed. In this case the old and new values should also be null.
Field Summary |
Constructor Summary | |
JboValidatorContext(int sourceType,
java.lang.Object source,
java.lang.String sourceFullName,
AttributeDef attribute,
java.lang.Object oldValue,
java.lang.Object newValue)
|
Method Summary | |
AttributeDef |
getAttributeDef()
|
Row |
getAttributeList()
|
java.lang.String |
getAttributeName()
|
java.lang.Object |
getNewValue()
|
java.lang.Object |
getOldValue()
|
java.lang.Object |
getSource()
AttributeList Object that is being validated. |
java.lang.String |
getSourceFullName()
|
Row |
getSourceRow()
|
int |
getSourceType()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JboValidatorContext(int sourceType, java.lang.Object source, java.lang.String sourceFullName, AttributeDef attribute, java.lang.Object oldValue, java.lang.Object newValue)
source
- The bean that fired the event.oldValue
- The old value of the property.newValue
- The new value of the property.Method Detail |
public java.lang.Object getSource()
public Row getAttributeList()
public Row getSourceRow()
public java.lang.String getAttributeName()
public AttributeDef getAttributeDef()
public java.lang.Object getNewValue()
public java.lang.Object getOldValue()
public java.lang.String getSourceFullName()
public int getSourceType()
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.