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

E10653-04

oracle.jbo.common
Class PropertiesHelper

java.lang.Object
  extended by oracle.jbo.common.PropertiesHelper
All Implemented Interfaces:
java.io.Serializable, Properties
Direct Known Subclasses:
ApplicationModuleHelper, ApplicationModuleImpl, AttributeDefHelper, ComponentUsageImpl, JboExceptionHelper, RowSetHelper, ViewLinkImpl, ViewUsageImpl

public abstract class PropertiesHelper
extends java.lang.Object
implements Properties, java.io.Serializable

Internal: Applications should not use this class.

See Also:
Serialized Form

Field Summary
protected  java.util.Hashtable mProperties
           
 
Constructor Summary
PropertiesHelper()
           
 
Method Summary
 void closeObject()
           
 java.lang.String getImageLoc(boolean bOpen)
           
 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 getProperty(java.lang.String hintName, LocaleContext locale)
           
 boolean isReadOnly()
           
 java.util.Hashtable refreshProperties()
           
 java.lang.Object refreshProperty(java.lang.String hintName)
          Retrieves the specified property, if it exists.
 void setName(java.lang.String name)
          This method is not implemented by default.
 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

refreshProperties

public java.util.Hashtable refreshProperties()

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.

getProperty

public java.lang.Object getProperty(java.lang.String hintName,
                                    LocaleContext locale)
Specified by:
getProperty in interface Properties

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 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.

getImageLoc

public java.lang.String getImageLoc(boolean bOpen)

closeObject

public void closeObject()

isReadOnly

public boolean isReadOnly()

setName

public void setName(java.lang.String name)
This method is not implemented by default. subclasses may implement this method.

Parameters:
name -
For internal use only. Application developers should not use this

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

E10653-04

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