Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


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

public java.lang.Object getDirect(java.lang.String propName)
Retrieve the value of a property
Parameters:
propName - the name of the property

getRecursive

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

setDirect

public 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

public 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

public PropertyContext getParent()
return the parent context
Returns:
the parent context (or null if this is the top)

getName

public java.lang.String getName()
Get the name of this context
Returns:
the parent context (or null if this is the top)

setName

public void setName(java.lang.String contextName)

setParent

public void setParent(PropertyContext pc)

Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


 

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