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


oracle.jbo.common
Class PropertiesHelper

java.lang.Object
  extended byoracle.jbo.common.PropertiesHelper

All Implemented Interfaces:
Properties
Direct Known Subclasses:
ApplicationModuleHelper, ApplicationModuleImpl, AttributeDefHelper, ComponentUsageImpl, RowSetHelper, ViewLinkImpl, ViewUsageImpl

public abstract class PropertiesHelper
extends java.lang.Object
implements Properties

Internal: Applications should not use this class.


Field Summary
protected java.util.Hashtable mProperties

Constructor Summary
PropertiesHelper()

Method Summary
abstract java.util.Hashtable getProperties()
Gets the table of properties.
java.lang.Object getProperty(java.lang.String hintName)
Retrieves the specified property, if it exists.
java.lang.Object refreshProperty(java.lang.String hintName)
Retrieves the specified property, if it exists.
void setProperty(java.lang.String hintName, java.lang.Object hintValue)

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

mProperties

protected java.util.Hashtable mProperties

Constructor Detail

PropertiesHelper

public PropertiesHelper()

Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String hintName)
Description copied from interface: Properties
Retrieves the specified property, if it exists.
Specified by:
getProperty in interface Properties
Parameters:
hintName - Property name.
Returns:
the value of the property, if any, otherwise null.

refreshProperty

public java.lang.Object refreshProperty(java.lang.String hintName)
Description copied from interface: Properties
Retrieves the specified property, if it exists. If the application running in a 3 tier environment, it retrieves the property from the middle-tier server, refreshing the value on the client side. If the application is running in a 2 tier environment, it is equivalent to getProperty.
Specified by:
refreshProperty in interface Properties
Parameters:
hintName - Property name.
Returns:
the value of the property, if any, otherwise null.

setProperty

public void setProperty(java.lang.String hintName,
                        java.lang.Object hintValue)

getProperties

public abstract java.util.Hashtable getProperties()
Description copied from interface: Properties
Gets the table of properties.
Specified by:
getProperties in interface Properties
Returns:
a hashtable of properties.

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


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