Oracle Application Development Framework Model and Business Components Java API Reference 10.1.3.1.0
B28969-01


oracle.adf.model.adapter
Class AdapterDataControlDef

java.lang.Object
  extended byoracle.jbo.common.NamedObjectImpl
      extended byoracle.jbo.mom.DefinitionObject
          extended byoracle.adf.model.binding.DCDefBase
              extended byoracle.adf.model.binding.DCDataControlDef
                  extended byoracle.adf.model.adapter.AdapterDataControlDef

All Implemented Interfaces:
java.util.Map

public class AdapterDataControlDef
extends DCDataControlDef

Definition class for adapter created data controls.

This class loads the ddata control definition from an XML definition node.

Since:
10.1.3
10.1.3.1.0:
1.0

Nested Class Summary

 

Nested classes inherited from class java.util.Map
java.util.Map.Entry

 

Field Summary
static java.lang.String ADAPTER_DC
          Name of the data control tag in the dcx file.
static java.lang.String IMPL_DEF
          Data control definition attribute to define the definition class that can create the data control.
static java.lang.String SOURCE
          "Source" node to store the metadata for the data controls.

 

Fields inherited from class oracle.adf.model.binding.DCDataControlDef
mDacObj, mOuter, mParameters, STR_TRUE

 

Fields inherited from class oracle.adf.model.binding.DCDefBase
DEF_XMLNS, DEF_XMLNS_BASE, PNAME_AccessorIterator, PNAME_Action, PNAME_Boolean, PNAME_Button, PNAME_ButtonGroup, PNAME_ComboBox, PNAME_DataControlAction, PNAME_DefaultControl, PNAME_DynamicTable, PNAME_EnumList, PNAME_FormattedTextField, PNAME_Graph, PNAME_HGrid, PNAME_Iterator, PNAME_Label, PNAME_ListSingleSel, PNAME_LovButton, PNAME_LOVList, PNAME_MethodAction, PNAME_MethodIterator, PNAME_NavigationBar, PNAME_NavigationList, PNAME_Panel, PNAME_Parameter, PNAME_ProgressBar, PNAME_ProgressBarAttr, PNAME_Range, PNAME_ScrollBar, PNAME_ScrollBarAttr, PNAME_Slider, PNAME_SliderAttr, PNAME_Spinner, PNAME_Table, PNAME_TextField, PNAME_ToplinkIterator, PNAME_Tree

 

Fields inherited from class oracle.jbo.mom.DefinitionObject
mBaseDefObject, mExtendedDefObjects, mObjectResolved

 

Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties

 

Constructor Summary
AdapterDataControlDef()
          Creates a new AdapterDataControlDef instance.

 

Method Summary
 java.lang.String getSubType()
          Returns null so that the definition class is used to load the definition.
 void init(java.util.HashMap initValues)
          Initializes the object from a collection of data.
protected  void loadChildrenFromXML(oracle.jbo.mom.xml.DefElement xmlElement)
          Loads child definitions from the data control's XML definition.
 void retrieveFromNode(org.w3c.dom.Node nodeDef)
          Retrieves the definition from an XML node.
protected  void retrieveFromXML(oracle.jbo.mom.xml.DefElement xmlElement, java.util.HashMap valueTab)
          Retrieves the attributes of the data control from an XML definition.

 

Methods inherited from class oracle.adf.model.binding.DCDataControlDef
clear, containsKey, containsValue, createAndLoadFromXML, entrySet, findDefObject, get, getBeanClass, getConfiguration, getDacObj, getDCProperties, getDefinitionClass, getDTClassName, getFactoryClass, getPackageName, getParameters, getProjectConfigurer, getXMLElementTag, isBeanSession, isEmpty, keySet, put, putAll, remove, setBeanClass, setConfiguration, setDacObj, setDefinitionClass, setFactoryClass, setPackageName, setProjectConfigurer, size, supportsFindMode, supportsTransactions, values

 

Methods inherited from class oracle.adf.model.binding.DCDefBase
convertToBoolean, convertToInt, convertToIntArray, getDefClassName, initSubType, isDirty, isNew, loadFromXML, readXMLBoolean, readXMLInt, readXMLString, readXMLStringArray, readXMLStringArrayList, readXMLStringArrayList, setDefClassName, setDirty, setNew, setSubType

 

Methods inherited from class oracle.jbo.mom.DefinitionObject
addExtendedDefObject, finishedLoading, getBaseDefObject, getContainerDef, getContainerName, getExtendedDefObjects, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, loadProperties, resolveReferences, setBaseDefObject, setName, setObjectResolved, setParent

 

Methods inherited from class oracle.jbo.common.NamedObjectImpl
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, refreshProperty, setFullName, setPropertiesMap, setProperty

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface java.util.Map
equals, hashCode

 

Field Detail

ADAPTER_DC

public static final java.lang.String ADAPTER_DC
Name of the data control tag in the dcx file.
See Also:
Constant Field Values

IMPL_DEF

public static final java.lang.String IMPL_DEF
Data control definition attribute to define the definition class that can create the data control.
See Also:
Constant Field Values

SOURCE

public static final java.lang.String SOURCE
"Source" node to store the metadata for the data controls.
See Also:
Constant Field Values

Constructor Detail

AdapterDataControlDef

public AdapterDataControlDef()
Creates a new AdapterDataControlDef instance. This will let the framework to create this instance from a definition class name.

Method Detail

getSubType

public java.lang.String getSubType()
Returns null so that the definition class is used to load the definition.
Overrides:
getSubType in class DCDefBase

init

public void init(java.util.HashMap initValues)
Initializes the object from a collection of data.
Overrides:
init in class DCDataControlDef

retrieveFromNode

public void retrieveFromNode(org.w3c.dom.Node nodeDef)
Retrieves the definition from an XML node.
Parameters:
nodeDef - the data control definition as an XML node.

retrieveFromXML

protected void retrieveFromXML(oracle.jbo.mom.xml.DefElement xmlElement,
                               java.util.HashMap valueTab)
Retrieves the attributes of the data control from an XML definition. This method puts the info read from the XML definition into the map supplied.
Overrides:
retrieveFromXML in class DCDataControlDef
Parameters:
xmlElement - XML element defines the data control metadata.
valueTab - a HashMap value to put the read info.

loadChildrenFromXML

protected void loadChildrenFromXML(oracle.jbo.mom.xml.DefElement xmlElement)
Loads child definitions from the data control's XML definition.
Overrides:
loadChildrenFromXML in class DCDataControlDef
Parameters:
xmlElement - contains the XML definition of the data control.

Oracle Application Development Framework Model and Business Components Java API Reference 10.1.3.1.0
B28969-01


Copyright © 1997, 2006, Oracle. All rights reserved.