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


Class AdapterDataControlDef

  extended by oracle.jbo.common.NamedObjectImpl
      extended by
          extended by
              extended by oracle.adf.model.binding.DCDefBase
                  extended by oracle.adf.model.binding.DCDataControlDef
                      extended by oracle.adf.model.adapter.AdapterDataControlDef
All Implemented Interfaces:
java.util.Map, DefPersistable, PersistentDefinition

public class AdapterDataControlDef
extends DCDataControlDef

Definition class for adapter created data controls.

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


Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Map
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, EMPTY_STR, PNAME_AccessorIterator, PNAME_Action, PNAME_Boolean, PNAME_Button, PNAME_ButtonGroup, PNAME_Calendar, PNAME_ComboBox, PNAME_ComboBoxLovEdit, PNAME_DataControlAction, PNAME_DefaultControl, PNAME_DynamicTable, PNAME_EnumList, PNAME_EventBinding, PNAME_EventEnabled, PNAME_EventEnabled_NONE, PNAME_EventEnabled_PPR, PNAME_EventEnabled_PUSH, 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_Permission, PNAME_ProgressBar, PNAME_ProgressBarAttr, PNAME_Range, PNAME_ScrollBar, PNAME_ScrollBarAttr, PNAME_Shuttle, PNAME_Slider, PNAME_SliderAttr, PNAME_Spinner, PNAME_Table, PNAME_TextField, PNAME_ToplinkIterator, PNAME_Tree, PNAME_TreeTable
Fields inherited from class
Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX
Fields inherited from interface
Constructor Summary
          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(DefElement xmlElement)
          Loads child definitions from the data control's XML definition.
 void retrieveFromNode(Node nodeDef)
          Retrieves the definition from an XML node.
protected  void retrieveFromXML(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, getTransactionName, 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, convertToDataChangePolicy, convertToInt, convertToIntArray, convertToLong, getDefClassName, getDefTypeId, getDefXMLNameSpace, getOrigObject, getPermissionDef, getPersonalizer, getPersonalizerClass, initSubType, isDirty, isNew, loadFromXML, loadPermissionDef, loadXMLContents, readXMLBoolean, readXMLInt, readXMLLong, readXMLString, readXMLStringArray, readXMLStringArrayList, readXMLStringArrayList, setDefClassName, setDirty, setNew, setOrigObject, setPermissionDef, setSubType
Methods inherited from class
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, findDefImport, finishedLoading, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getEditObject, getFileName, getFullDirName, getFullFileName, getPropertyMap, getSubstitutedNames, guaranteePath, isEditable, loadDefImports, objectRemoved, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, removeDefImport, removeProperty, saveXMLContents, setDefaultBaseDir, setDefMgr, setEditable, setProperty, setPropertyMap, updateChildrenList, verifyVersion, writeChildren, writeContents, writeObject, writeVersion, writeXMLContents
Methods inherited from class
addExtendedDefObject, addPropertySetName, getBaseDefObject, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, loadCustomProperties, loadProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, removeExtendedDefObject, resolveReferences, setBaseDefObject, setBaseDefObject, setDefScope, setMdsKey, setMdsReference, setName, setObjectResolved, setParent, setPropertySetName
Methods inherited from class oracle.jbo.common.NamedObjectImpl
getAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getResourcesFromBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolvePropertyRaw, setFullName, setPropertiesMap, setPropertiesMap2, 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
Methods inherited from interface

Field Detail


public static final java.lang.String ADAPTER_DC
Name of the data control tag in the dcx file.

See Also:
Constant Field Values


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


public static final java.lang.String SOURCE
"Source" node to store the metadata for the data controls.

See Also:
Constant Field Values
Constructor Detail


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

Method Detail


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

getSubType in class DCDefBase


public void init(java.util.HashMap initValues)
Initializes the object from a collection of data.

init in class DCDataControlDef


public void retrieveFromNode(Node nodeDef)
Retrieves the definition from an XML node.

nodeDef - the data control definition as an XML node.


protected void retrieveFromXML(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.

retrieveFromXML in class DCDataControlDef
xmlElement - XML element defines the data control metadata.
valueTab - a HashMap value to put the read info.


protected void loadChildrenFromXML(DefElement xmlElement)
Loads child definitions from the data control's XML definition.

loadChildrenFromXML in class DCDataControlDef
xmlElement - contains the XML definition of the data control.

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


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