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

E17503-02

oracle.adfnmc.component.property
Class ObjectProperty

java.lang.Object
  extended by oracle.adfnmc.component.property.Property
      extended by oracle.adfnmc.component.property.ObjectProperty
All Implemented Interfaces:
ValueChangeListener

public class ObjectProperty
extends Property

Author:
jmiers

Field Summary
 
Fields inherited from class oracle.adfnmc.component.property.Property
m_elExpression, m_isSecret, m_propertyListener, m_setValueSource, m_valueExpression, m_valueListener
 
Constructor Summary
ObjectProperty(java.lang.String elExpression)
           
ObjectProperty(java.lang.String elExpression, java.lang.Object defaultValue)
           
ObjectProperty(java.lang.String elExpression, java.lang.Object defaultValue, RefreshablePropertyObjectOwner owner)
           
 
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
 

Constructor Detail

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)
Method Detail

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 setter
value - the new value to set to the property

getExpectedType

public java.lang.Class getExpectedType()

setExpectedType

public void setExpectedType(java.lang.Class value)

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

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.