oracle.adfnmc.component.property
Class ObjectProperty
java.lang.Object
oracle.adfnmc.component.property.Property
oracle.adfnmc.component.property.ObjectProperty
- All Implemented Interfaces:
- ValueChangeListener
public class ObjectProperty
- extends Property
- Author:
- jmiers
Method Summary |
protected void |
expressionIsLiteral()
Sub-classes of this abstract class must convert the el expression into a literal
m_valueExpression is not guaranteed to be non-null, so it must be checked before
being used. |
protected java.lang.Object |
getDefaultValue()
|
java.lang.Class |
getExpectedType()
|
protected java.lang.Object |
getOldValueAsObject()
|
java.lang.Object |
getValue()
|
protected java.lang.Object |
getValueAsObject()
|
void |
setExpectedType(java.lang.Class value)
|
void |
setValue(java.lang.Object source,
java.lang.Object value)
Generic method that handles setValue calls coming from derived classes |
protected void |
valueChangedImpl(java.lang.Object source,
java.lang.Object value)
|
Methods inherited from class oracle.adfnmc.component.property.Property |
bindExpression, fireChangeEvent, getValueForLogging, hasElExpression, logValueChanged, refreshValue, refreshValue, reset, reset, reset, reset, reset, reset, reset, setPropertyChangeCallback, setPropertyValueChangeCallback, setValueSecret, shouldLogValues, unregisterListener, valueChanged, valueChanged |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectProperty
public ObjectProperty(java.lang.String elExpression)
ObjectProperty
public ObjectProperty(java.lang.String elExpression,
java.lang.Object defaultValue)
ObjectProperty
public ObjectProperty(java.lang.String elExpression,
java.lang.Object defaultValue,
RefreshablePropertyObjectOwner owner)
expressionIsLiteral
protected void expressionIsLiteral()
- Description copied from class:
Property
- Sub-classes of this abstract class must convert the el expression into a literal
m_valueExpression is not guaranteed to be non-null, so it must be checked before
being used. If m_valueExpression is null, the value must be extracted from the
string m_elExpression and coerced into the proper type from there.
- Specified by:
expressionIsLiteral
in class Property
getDefaultValue
protected java.lang.Object getDefaultValue()
- Specified by:
getDefaultValue
in class Property
getValueAsObject
protected java.lang.Object getValueAsObject()
- Specified by:
getValueAsObject
in class Property
getOldValueAsObject
protected java.lang.Object getOldValueAsObject()
- Specified by:
getOldValueAsObject
in class Property
valueChangedImpl
protected void valueChangedImpl(java.lang.Object source,
java.lang.Object value)
- Specified by:
valueChangedImpl
in class Property
getValue
public java.lang.Object getValue()
setValue
public void setValue(java.lang.Object source,
java.lang.Object value)
- Description copied from class:
Property
- Generic method that handles setValue calls coming from derived classes
- Overrides:
setValue
in class Property
- Parameters:
source
- the source of this settervalue
- the new value to set to the property
getExpectedType
public java.lang.Class getExpectedType()
setExpectedType
public void setExpectedType(java.lang.Class value)
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.