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

E17503-02

oracle.jbo.server
Class ComponentObjectImpl

java.lang.Object
  extended by oracle.jbo.server.NamedObjectImpl
      extended by oracle.jbo.server.ComponentObjectImpl
All Implemented Interfaces:
Formattable, ComponentObject, Properties, VariableManagerOwner, VariableManagerOwnerBase
Direct Known Subclasses:
ContainerObjectImpl, EntityAssociationReference, EntityCache, EntityReference, ViewLinkImpl, ViewObjectImpl

public class ComponentObjectImpl
extends NamedObjectImpl
implements ComponentObject, VariableManagerOwner


Field Summary
static java.lang.Class CLASS_INSTANCE
           
 
Fields inherited from class oracle.jbo.server.NamedObjectImpl
mObjName, mParent, mProperties, mUserData, RES_ID_SUFFIX
 
Constructor Summary
ComponentObjectImpl()
           
 
Method Summary
 void addListener(ComponentObjectListener listener)
          Add a listener for the Component Object
 void applyPersonalization()
           
protected  void create()
           
static ComponentObjectImpl createRef(java.lang.String name, DefObject bo)
           
 VariableValueManager ensureVariableManager()
          Returns this object's Variable Value Manager.
 java.util.Hashtable getAllProperties(java.util.Hashtable map, Locale locale)
           
 ApplicationModule getApplicationModule()
          Gets the Application Module.
protected  List getCompListeners()
           
protected  ArrayList getCompListenersList()
           
 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.Class getMessageBundleClass()
           
 ResourceBundleDef getResourceBundleDef()
           
 ApplicationModuleImpl getRootApplicationModule()
          Gets the root application module implementation.
 VariableValueManager getVariableManager()
          Returns this object's current Variable Value Manager.
 boolean hasVariables()
          Returns a flag indicating whether this object has Variables or not.
 boolean isDead()
           
 void remove()
          Deletes this component.
protected  java.lang.Object resolvePropertyRaw(java.lang.String property, Locale locale)
           
 
Methods inherited from class oracle.jbo.server.NamedObjectImpl
formatChildCollectionForOutput, formatChildCollectionForOutput, formatChildCollectionForOutput, formatForOutput, formatForOutput, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getResourcesFromBundle, getUserData, parseAttrArrayElements, refreshProperty, requiresNamePrefixedResId, setFullName, setName, setParent, setPropertiesMap, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.ComponentObject
getFullName, getName
 
Methods inherited from interface oracle.jbo.Properties
getProperties, getProperty, getProperty, refreshProperty
 
Methods inherited from interface oracle.jbo.VariableManagerOwner
getName
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE
Constructor Detail

ComponentObjectImpl

public ComponentObjectImpl()
Method Detail

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
Returns:
a class name.

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
Returns:
a class name.

hasVariables

public boolean hasVariables()
Description copied from interface: VariableManagerOwner
Returns a flag indicating whether this object has Variables or not.

Specified by:
hasVariables in interface VariableManagerOwner
Specified by:
hasVariables in interface VariableManagerOwnerBase
Returns:
the flag indicating whether this object has Variables.

ensureVariableManager

public VariableValueManager ensureVariableManager()
Description copied from interface: VariableManagerOwner
Returns this object's Variable Value Manager. If this object current has no Variable Value Manager, it will initialize (create) one.

Specified by:
ensureVariableManager in interface VariableManagerOwner
Specified by:
ensureVariableManager in interface VariableManagerOwnerBase
Returns:
this object's Variable Value Manager. Will create a Variable Value Manager if this object had no Variable Value Manager.

getMessageBundleClass

public java.lang.Class getMessageBundleClass()
Specified by:
getMessageBundleClass in interface VariableManagerOwner
Specified by:
getMessageBundleClass in interface VariableManagerOwnerBase

getVariableManager

public VariableValueManager getVariableManager()
Description copied from interface: VariableManagerOwner
Returns this object's current Variable Value Manager. It will return null if Variable Value Manager has been initialized.

When a framework object is first created, its Variable Value Manager may be null. This method does not initialize (create) the Variable Value Manager.

VariableManagerOwner.ensureVariableManager() in contrast, ensures that the Variable Value Manager is initialized (created).

Specified by:
getVariableManager in interface VariableManagerOwner
Specified by:
getVariableManager in interface VariableManagerOwnerBase
Returns:
this object's current Variable Value Manager. May return null if one was not yet initialized.

createRef

public static ComponentObjectImpl createRef(java.lang.String name,
                                            DefObject bo)

create

protected void create()

getCompListenersList

protected ArrayList getCompListenersList()

getCompListeners

protected List getCompListeners()

getRootApplicationModule

public final ApplicationModuleImpl getRootApplicationModule()
Gets the root application module implementation.

Returns:
ApplicationModuleImpl

remove

public void remove()
Deletes this component.

Specified by:
remove in interface ComponentObject

isDead

public boolean isDead()

getApplicationModule

public ApplicationModule getApplicationModule()
Gets the Application Module.

Returns:
ApplicationModule

addListener

public void addListener(ComponentObjectListener listener)
Add a listener for the Component Object

Parameters:
listener - a listener for the component object

resolvePropertyRaw

protected java.lang.Object resolvePropertyRaw(java.lang.String property,
                                              Locale locale)
Overrides:
resolvePropertyRaw in class NamedObjectImpl

getAllProperties

public java.util.Hashtable getAllProperties(java.util.Hashtable map,
                                            Locale locale)
Overrides:
getAllProperties in class NamedObjectImpl

getResourceBundleDef

public ResourceBundleDef getResourceBundleDef()
Specified by:
getResourceBundleDef in interface VariableManagerOwner

applyPersonalization

public void applyPersonalization()

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

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.