|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
oracle.jbo.common.JboAbstractMap
oracle.jbo.rules.JboValidatorContext
public class 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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class oracle.jbo.common.JboAbstractMap |
---|
MAP_NULL_VALUE |
Constructor Summary | |
---|---|
JboValidatorContext(int sourceType,
java.lang.Object source,
java.lang.String sourceFullName,
AttributeDef attribute,
java.lang.Object oldValue,
java.lang.Object newValue)
Deprecated. since 11.1.1.0 use a subclass to implement getWarningContainer and evaluateExpression methods. |
Methods inherited from class oracle.jbo.common.JboAbstractMap |
---|
entrySet, equals, get, hashCode, put, setThrowIfPropertyNotFoundOnGet |
Methods inherited from class java.util.AbstractMap |
---|
clear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, 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.attribute
- The property that was changed.oldValue
- The old value of the property.newValue
- The new value of the property.Method Detail |
---|
public java.lang.Object getSource()
public AbstractValidator getValidator()
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()
protected java.lang.String getExprValueSupplierType()
public JboTransValidationManager getTransValidationManager()
public JboTransAttrValidationManager getTransAttrValidationManager()
protected void setTransValidationManager(JboTransValidationManager mgr)
mgr
- public void setTransAttrValidationManager(JboTransAttrValidationManager mgr)
public WarningContainer getWarningContainer()
protected ExprValueSupplier getExprValueSupplierForExpression()
protected java.lang.Object internalGet(java.lang.String key)
internalGet
in class JboAbstractMap
protected void internalPut(java.lang.String key, java.lang.Object value)
internalPut
in class JboAbstractMap
public void addWarning(JboWarning warn)
warn
- a warning.protected java.util.List<AttrValException> getCachedExceptions()
protected JboValidatorContext getRootContext()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |