public class ConcreteJavaBeanObject
extends oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
GenericType
interface. For best practice, developers should code
to the GenericType interface and not directly cast to this class.Modifier and Type | Method and Description |
---|---|
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
|
addChildren, addPropertyChangeListener, addProviderChangeListener, copy, copy, firePropertyChange, fireProviderChange, getAttributeInfo, getAttributeInfoCount, getDataProvider, getName, getNamespace, getParent, getProviderKey, getProviderKeyValue, getType, hasAnyChangeListeners, hasPropertyChangeListeners, hasProviderChangeListeners, indexOfChild, isAttributeCollection, isComplexType, newInstance, newInstance, propertyChange, providerChange, removeChild, removePropertyChangeListener, removeProviderChangeListener, setParent, setProviderKey, toJSON, toString
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 insertedpublic 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 questionpublic 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 attributeGenericType.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 attributeGenericType.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 attributeGenericType.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 attributepublic Class getAttributeType(String name)
GenericType
getAttributeType
in interface GenericType
getAttributeType
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
name
- of the attributepublic Object getInstance()
public boolean isUpdateable(String name)
GenericType
isUpdateable
in interface GenericType
isUpdateable
in class oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase
name
- of the attribute