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

E10653-04

oracle.jbo.common
Interface PropertyContext

All Known Implementing Classes:
PropertyDefaultContext

public interface PropertyContext

Defines methods for logging diagnostic messages.

Since:
JDeveloper 9.0.4 (Nov02)

Method Summary
 java.lang.Object getDirect(java.lang.String propName)
          Retrieve the value of a property
 java.lang.String getName()
          Get the name of this context
 PropertyContext getParent()
          return the parent context
 java.lang.Object getRecursive(java.lang.String propName)
           
 void setDirect(java.lang.String propName, java.lang.Object value)
          Set the value of a property (in this context)
 void setName(java.lang.String contextName)
           
 void setParent(PropertyContext pc)
           
 void setRecursive(java.lang.String propName, java.lang.Object value, java.lang.String contextName)
          Set the value of a property in the first parent context whose name matches the contextName.
 

Method Detail

getDirect

java.lang.Object getDirect(java.lang.String propName)
Retrieve the value of a property

Parameters:
propName - the name of the property

getRecursive

java.lang.Object getRecursive(java.lang.String propName)

setDirect

void setDirect(java.lang.String propName,
               java.lang.Object value)
Set the value of a property (in this context)

Parameters:
propName - the name of the property

setRecursive

void setRecursive(java.lang.String propName,
                  java.lang.Object value,
                  java.lang.String contextName)
Set the value of a property in the first parent context whose name matches the contextName.

Parameters:
propName - the name of the property
value - - the value to be set
contextName - - the name of the parent context to be used

getParent

PropertyContext getParent()
return the parent context

Returns:
the parent context (or null if this is the top)

getName

java.lang.String getName()
Get the name of this context

Returns:
the parent context (or null if this is the top)

setName

void setName(java.lang.String contextName)

setParent

void setParent(PropertyContext pc)

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.