|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectoracle.adfmf.dc.JavaBeanObject
oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
oracle.adfmf.dc.bean.ConcreteJavaBeanObject
public class ConcreteJavaBeanObject
For internal framework use only. This is an adapter class used to expose a
native java bean class that is part of a DataControl hierarchy in terms of
the GenericType
interface. For best practice, developers should code
to the GenericType interface and not directly cast to this class.
Method Summary | |
---|---|
void |
dispose()
|
Object |
getAttribute(int i)
Return the i'th attribute NOTE: Order of defines does matter, this method will always return the i'th attribute that was defined. |
Object |
getAttribute(String name)
Return the attribute value for the given name attribute. |
Object |
getAttribute(String name,
int index)
Return the attribute value for the namespace/name attribute |
Object |
getAttribute(String namespace,
String name)
Return the attribute value for the namespace/name attribute |
int |
getAttributeCount()
Return the number of attributes defined for this generic type |
int |
getAttributeCount(String name)
Return the number of attributes with the given name. |
oracle.adfmf.util.AttributeInfo |
getAttributeInfo(int i)
Return the attribute information for the i'th attribute |
Class |
getAttributeType(String name)
Return the attribute type for the name attribute |
Object |
getInstance()
|
Object |
insertChild(String accessorName,
int index,
Object child)
Insert a child into the current generic type. |
Object |
invokeMethod(String methodName,
Class[] paramTypes,
Object[] params)
|
boolean |
isUpdateable(String name)
Returns whether or not the named attribute is updateable |
void |
setAttribute(String name,
Object value)
Set the value of the given attribute |
Methods inherited from class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase |
---|
addChildren, addPropertyChangeListener, addProviderChangeListener, copy, copy, firePropertyChange, fireProviderChange, getAttributeInfo, getAttributeInfoCount, getDataProvider, getName, getNamespace, getParent, getProviderKey, getProviderKeyValue, getType, hasAnyChangeListeners, hasPropertyChangeListeners, hasProviderChangeListeners, isAttributeCollection, isComplexType, newInstance, newInstance, propertyChange, providerChange, removeChild, removePropertyChangeListener, removeProviderChangeListener, setParent, setProviderKey, toJSON, toString |
Methods inherited from class oracle.adfmf.dc.JavaBeanObject |
---|
getAttribute, getDefinition, getId, isDeferred, isModified, restoreDefaults, setAttributeModified |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void dispose()
dispose
in class oracle.adfmf.dc.JavaBeanObject
public Object insertChild(String accessorName, int index, Object child)
GenericType
insertChild
in interface GenericType
insertChild
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
accessorName
- for the childindex
- to specify the locationchild
- the child to be inserted
public Object invokeMethod(String methodName, Class[] paramTypes, Object[] params)
invokeMethod
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
public Object getAttribute(int i)
GenericType
getAttribute
in interface GenericType
getAttribute
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
i
- the attribute index in question
public int getAttributeCount()
GenericType
getAttributeCount
in interface GenericType
getAttributeCount
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
public Object getAttribute(String name)
GenericType
getAttribute
in interface GenericType
getAttribute
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
name
- of the attribute
GenericType.getAttributeType(java.lang.String)
public Object getAttribute(String name, int index)
GenericType
getAttribute
in interface GenericType
getAttribute
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
name
- of the attribute
GenericType.getAttribute(java.lang.String)
public Object getAttribute(String namespace, String name)
GenericType
getAttribute
in interface GenericType
getAttribute
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
namespace
- of the attributename
- of the attribute
GenericType.getAttribute(java.lang.String)
public void setAttribute(String name, Object value)
GenericType
setAttribute
in interface GenericType
setAttribute
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
name
- of the attributevalue
- of the attributepublic int getAttributeCount(String name)
GenericType
getAttributeCount
in interface GenericType
getAttributeCount
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
public oracle.adfmf.util.AttributeInfo getAttributeInfo(int i)
GenericType
getAttributeInfo
in interface GenericType
getAttributeInfo
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
i
- for the i'th attribute
public Class getAttributeType(String name)
GenericType
getAttributeType
in interface GenericType
getAttributeType
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
name
- of the attribute
public Object getInstance()
public boolean isUpdateable(String name)
GenericType
isUpdateable
in interface GenericType
isUpdateable
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
name
- of the attribute
|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |