Business Components

oracle.jbo.common.ws
Class WSComponentObject

java.lang.Object
  |
  +--oracle.jbo.common.ws.WSObject
        |
        +--oracle.jbo.common.ws.WSComponentObject
All Implemented Interfaces:
ComponentObject, Properties, java.io.Serializable

public class WSComponentObject
extends WSObject
implements ComponentObject, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
WSComponentObject(java.lang.String name, java.lang.String defName, WSApplicationModule parent)
           
WSComponentObject(java.lang.String name, WSApplicationModule parent)
           
 
Method Summary
TypeMethod
 java.lang.String getDefFullName()
          Retrieves the fully-qualified name of the component's definition.
 java.lang.String getDefName()
          Retrieves the name of the component's definition.
 java.lang.String getFullName()
          Retrieves the fully-qualified name of this component.
 java.lang.Object getImplObject()
           
 java.lang.String getName()
          Retrieves the name of this component.
 WSObject getParent()
           
 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 remove()
          Deletes this component.
 void setImplObject(java.lang.Object o)
           
 
Methods inherited from class oracle.jbo.common.ws.WSObject
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSComponentObject

public WSComponentObject(java.lang.String name,
                         WSApplicationModule parent)

WSComponentObject

public WSComponentObject(java.lang.String name,
                         java.lang.String defName,
                         WSApplicationModule parent)
Method Detail

getParent

public WSObject getParent()
Overrides:
getParent in class WSObject

getImplObject

public java.lang.Object getImplObject()
Overrides:
getImplObject in class WSObject

setImplObject

public void setImplObject(java.lang.Object o)
Overrides:
setImplObject in class WSObject

getDefName

public java.lang.String getDefName()
Description copied from interface: ComponentObject
Retrieves the name of the component's definition.
Specified by:
getDefName in interface ComponentObject
Following copied from interface: oracle.jbo.ComponentObject
Returns:
a class name.

getDefFullName

public java.lang.String getDefFullName()
Description copied from interface: ComponentObject
Retrieves the fully-qualified name of the component's definition.
Specified by:
getDefFullName in interface ComponentObject
Following copied from interface: oracle.jbo.ComponentObject
Returns:
a class name.

getName

public java.lang.String getName()
Description copied from interface: ComponentObject
Retrieves the name of this component.
Specified by:
getName in interface ComponentObject
Following copied from interface: oracle.jbo.ComponentObject
Returns:
the name of the object.

getFullName

public java.lang.String getFullName()
Description copied from interface: ComponentObject
Retrieves the fully-qualified name of this component.
Specified by:
getFullName in interface ComponentObject
Following copied from interface: oracle.jbo.ComponentObject
Returns:
the name of the object.

remove

public void remove()
Description copied from interface: ComponentObject
Deletes this component.
Specified by:
remove in interface ComponentObject

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
Following copied from interface: oracle.jbo.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
Following copied from interface: oracle.jbo.Properties
Parameters:
hintName - Property name.
Returns:
the value of the property, if any, otherwise null.

getProperties

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

Business Components