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

E17503-02

oracle.adfnmc.dc
Class JavaBeanObject

java.lang.Object
  extended by oracle.adfnmc.util.GenericType
      extended by oracle.adfnmc.dc.JavaBeanObject
Direct Known Subclasses:
WebServiceObject

public class JavaBeanObject
extends GenericType


Field Summary
protected  java.lang.String id
           
protected  JavaBeanDefinition jbd
           
protected  MetaDataFrameworkManager mdfm
           
protected  java.lang.String type
           
 
Fields inherited from class oracle.adfnmc.util.GenericType
attribute, attributeInfo, complex, GENERIC_TYPE_DEBUG, name, namespace, parent
 
Constructor Summary
JavaBeanObject()
           
JavaBeanObject(java.lang.String namespace, java.lang.String name, JavaBeanDefinition jbd)
           
JavaBeanObject(java.lang.String namespace, java.lang.String name, JavaBeanDefinition jbd, java.lang.String type)
           
 
Method Summary
protected  void addInputParameters(JavaBeanOperation jbo, List params)
           
protected  JavaBeanOperation createOperation(java.lang.String name, JavaBeanDefinition pbd)
           
protected  JavaBeanOperation createOperation(java.lang.String name, List params)
           
 JavaBeanDefinition getDefinition()
           
 java.lang.String getId()
           
 java.lang.String getType()
           
protected  void log(Level level, ResourceBundle bundle, java.lang.String key, java.lang.Object[] params)
           
protected  void log(Level level, java.lang.String msg)
           
protected  void registerAccessorAttribute()
          Used to do any special registration/parsing with the attribute accessors definitions found in the JavaBeanDefinition (aka virutal class object).
protected  void registerAnyOperations()
          Used to register all the operations defined by this java bean.
protected  void registerAttributes()
          Used to do any special registration/parsing with the attribute definitions found in the JavaBeanDefinition (aka virutal class object).
protected  void registerJavaBean(JavaBeanDefinition jbd)
          Register/Define this java bean object's structure of definition.
protected  void registerMethodAccessors()
          Used to do any special registration/parsing with the method accessors definitions found in the JavaBeanDefinition (aka virutal class object).
protected  void registerOperation(MethodAccessorDefinition mad)
           
 java.lang.String toString()
           
 
Methods inherited from class oracle.adfnmc.util.GenericType
copy, defineAttribute, defineAttribute, defineAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttributeCollection, getAttributeCount, getAttributeCount, getAttributeCount, getAttributeInfo, getAttributeInfo, getAttributeInfo, getAttributeInfo, getAttributeInfoCollection, getAttributeType, getName, getNamespace, getParent, isComplexType, setAttribute, setAttribute, setAttribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected java.lang.String id

jbd

protected JavaBeanDefinition jbd

mdfm

protected MetaDataFrameworkManager mdfm

type

protected java.lang.String type
Constructor Detail

JavaBeanObject

public JavaBeanObject()

JavaBeanObject

public JavaBeanObject(java.lang.String namespace,
                      java.lang.String name,
                      JavaBeanDefinition jbd)

JavaBeanObject

public JavaBeanObject(java.lang.String namespace,
                      java.lang.String name,
                      JavaBeanDefinition jbd,
                      java.lang.String type)
Method Detail

getId

public java.lang.String getId()
Returns:
the associate java bean object's id

getDefinition

public JavaBeanDefinition getDefinition()
Returns:
the java bean object's definition

getType

public java.lang.String getType()
Returns:
the java bean object's type

toString

public java.lang.String toString()
Overrides:
toString in class GenericType
Returns:
a human readable form of the object

addInputParameters

protected void addInputParameters(JavaBeanOperation jbo,
                                  List params)

createOperation

protected JavaBeanOperation createOperation(java.lang.String name,
                                            List params)

createOperation

protected JavaBeanOperation createOperation(java.lang.String name,
                                            JavaBeanDefinition pbd)

registerJavaBean

protected void registerJavaBean(JavaBeanDefinition jbd)
Register/Define this java bean object's structure of definition.

Parameters:
jbd -

registerAttributes

protected void registerAttributes()
Used to do any special registration/parsing with the attribute definitions found in the JavaBeanDefinition (aka virutal class object). Here is where we create "instance" level attributes for each of the attributes defined in the definition itself. If this method is overridden be sure to call super.registerAttributes().


registerAccessorAttribute

protected void registerAccessorAttribute()
Used to do any special registration/parsing with the attribute accessors definitions found in the JavaBeanDefinition (aka virutal class object).


registerAnyOperations

protected void registerAnyOperations()
Used to register all the operations defined by this java bean. Please note that data control specific registration will be performed in the overridden create operation methods.

See Also:
registerOperation(oracle.adfnmc.metadata.bean.MethodAccessorDefinition)

registerOperation

protected void registerOperation(MethodAccessorDefinition mad)

registerMethodAccessors

protected void registerMethodAccessors()
Used to do any special registration/parsing with the method accessors definitions found in the JavaBeanDefinition (aka virutal class object).


log

protected void log(Level level,
                   java.lang.String msg)
Overrides:
log in class GenericType

log

protected void log(Level level,
                   ResourceBundle bundle,
                   java.lang.String key,
                   java.lang.Object[] params)
Overrides:
log in class GenericType

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.