Skip navigation links

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

E10653-03


oracle.adf.model.binding
Class DCDefBase

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.mom.DefinitionObject
          extended by oracle.jbo.mom.PersistableDefObject
              extended by oracle.adf.model.binding.DCDefBase

All Implemented Interfaces:
DefPersistable, PersistentDefinition
Direct Known Subclasses:
DCConfigurationDef, DCControlBindingDef, DCDataControlConfigDef, DCDataControlDef, DCExecutableBindingDef, DCLayoutConsDef, DCLayoutDef, DCParameterSetDef, JUFormattedTextFieldDef.DateFormatDef, JUFormattedTextFieldDef.MaskFormatDef, JUFormattedTextFieldDef.NumberFormatDef, JUFormattedTextFieldDef.RegExpFormatDef, JUShuttlePanelDef.JUShuttlePanelButtonDef, JUSpinnerDef.SpinnerDateModelDef, JUSpinnerDef.SpinnerNumberModelDef, JUTableDef.JUEditorPropDef, JUTableDef.JURegionDef, JUTableDef.JUTableAttrPropDef

public abstract class DCDefBase
extends PersistableDefObject

Field Summary
static java.lang.String DEF_XMLNS
           
static java.lang.String DEF_XMLNS_BASE
           
protected static java.lang.String EMPTY_STR
           
static java.lang.String PNAME_AccessorIterator
           
static java.lang.String PNAME_Action
           
static java.lang.String PNAME_Boolean
           
static java.lang.String PNAME_Button
           
static java.lang.String PNAME_ButtonGroup
           
static java.lang.String PNAME_Calendar
           
static java.lang.String PNAME_ComboBox
           
static java.lang.String PNAME_ComboBoxLovEdit
           
static java.lang.String PNAME_DataControlAction
           
static java.lang.String PNAME_DefaultControl
           
static java.lang.String PNAME_DynamicTable
           
static java.lang.String PNAME_EnumList
           
static java.lang.String PNAME_EventBinding
           
static java.lang.String PNAME_EventEnabled
           
static java.lang.String PNAME_EventEnabled_NONE
           
static java.lang.String PNAME_EventEnabled_PPR
           
static java.lang.String PNAME_EventEnabled_PUSH
           
static java.lang.String PNAME_FormattedTextField
           
static java.lang.String PNAME_Graph
           
static java.lang.String PNAME_HGrid
           
static java.lang.String PNAME_Iterator
           
static java.lang.String PNAME_Label
           
static java.lang.String PNAME_ListSingleSel
           
static java.lang.String PNAME_LovButton
           
static java.lang.String PNAME_LOVList
           
static java.lang.String PNAME_MethodAction
           
static java.lang.String PNAME_MethodIterator
           
static java.lang.String PNAME_NavigationBar
           
static java.lang.String PNAME_NavigationList
           
static java.lang.String PNAME_Panel
           
static java.lang.String PNAME_Parameter
           
static java.lang.String PNAME_Permission
           
static java.lang.String PNAME_ProgressBar
           
static java.lang.String PNAME_ProgressBarAttr
           
static java.lang.String PNAME_Range
           
static java.lang.String PNAME_ScrollBar
           
static java.lang.String PNAME_ScrollBarAttr
           
static java.lang.String PNAME_Shuttle
           
static java.lang.String PNAME_Slider
           
static java.lang.String PNAME_SliderAttr
           
static java.lang.String PNAME_Spinner
           
static java.lang.String PNAME_Table
           
static java.lang.String PNAME_TextField
           
static java.lang.String PNAME_ToplinkIterator
           
static java.lang.String PNAME_Tree
           
static java.lang.String PNAME_TreeTable
           

 

Fields inherited from class oracle.jbo.mom.DefinitionObject
DEF_MDS_CLIENT_KEY, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY

 

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

 

Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT

 

Constructor Summary
DCDefBase()
           
DCDefBase(int defScope, java.lang.String name)
           
DCDefBase(java.lang.String name)
           

 

Method Summary
static boolean convertToBoolean(java.lang.Object val)
           
protected  DataControl.DataChangeEventPolicy convertToDataChangePolicy(java.lang.Object object)
           
static int convertToInt(java.lang.Object val)
           
static int[] convertToIntArray(java.lang.Object[] arr)
           
static long convertToLong(java.lang.Object val)
           
static DCDefBase createAndLoadFromXML(DefElement xmlElement, java.lang.String defSubType)
           
 java.lang.String getDefClassName()
           
 int getDefTypeId()
           
 java.lang.String getDefXMLNameSpace()
           
 DefPersistable getOrigObject()
           
 DCPermissionDef getPermissionDef()
           
 Personalizer getPersonalizer()
           
protected  java.lang.Class getPersonalizerClass()
           
 java.lang.String getSubType()
           
abstract  java.lang.String getXMLElementTag()
          Returns a piece of static info for the type of object this is invoked upon.
 void init(java.util.HashMap initValues)
           
protected  void initSubType()
           
 boolean isDirty()
          This method returns if an Object is modified from last save/load
 boolean isNew()
          This method returns if this object is previously persisted.
protected  void loadChildrenFromXML(DefElement xmlElement)
           
 void loadFromXML(DefElement xmlElement)
           
protected  void loadPermissionDef(DefElement xmlElement)
          Loads the information about permission to the Def
 void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
           
static void readXMLBoolean(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
           
static void readXMLInt(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
           
static void readXMLLong(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
           
static void readXMLString(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
           
static void readXMLStringArray(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
           
static void readXMLStringArrayList(DefElement xmlElement, java.lang.String name, java.util.ArrayList list)
           
static void readXMLStringArrayList(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
           
protected  void retrieveFromXML(DefElement xmlElement, java.util.HashMap valueTab)
           
 void setDefClassName(java.lang.String defClassName)
           
 void setDirty(boolean isDirty)
          This method marks the Object dirty
 void setNew(boolean isNew)
          This method marks the as previously persisted.
 void setOrigObject(DefPersistable oldObj)
           
protected  void setPermissionDef(DCPermissionDef permissionDef)
           
 void setSubType(java.lang.String subType)
           

 

Methods inherited from class oracle.jbo.mom.PersistableDefObject
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 oracle.jbo.mom.DefinitionObject
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 oracle.jbo.mom.xml.DefPersistable
getFullName

 

Field Detail

DEF_XMLNS_BASE

public static final java.lang.String DEF_XMLNS_BASE
See Also:
Constant Field Values

DEF_XMLNS

public static final java.lang.String DEF_XMLNS
See Also:
Constant Field Values

PNAME_Action

public static final java.lang.String PNAME_Action
See Also:
Constant Field Values

PNAME_Button

public static final java.lang.String PNAME_Button
See Also:
Constant Field Values

PNAME_ButtonGroup

public static final java.lang.String PNAME_ButtonGroup
See Also:
Constant Field Values

PNAME_Calendar

public static final java.lang.String PNAME_Calendar
See Also:
Constant Field Values

PNAME_ComboBoxLovEdit

public static final java.lang.String PNAME_ComboBoxLovEdit
See Also:
Constant Field Values

PNAME_ComboBox

public static final java.lang.String PNAME_ComboBox
See Also:
Constant Field Values

PNAME_DefaultControl

public static final java.lang.String PNAME_DefaultControl
See Also:
Constant Field Values

PNAME_FormattedTextField

public static final java.lang.String PNAME_FormattedTextField
See Also:
Constant Field Values

PNAME_Graph

public static final java.lang.String PNAME_Graph
See Also:
Constant Field Values

PNAME_Label

public static final java.lang.String PNAME_Label
See Also:
Constant Field Values

PNAME_ListSingleSel

public static final java.lang.String PNAME_ListSingleSel
See Also:
Constant Field Values

PNAME_LovButton

public static final java.lang.String PNAME_LovButton
See Also:
Constant Field Values

PNAME_NavigationBar

public static final java.lang.String PNAME_NavigationBar
See Also:
Constant Field Values

PNAME_ScrollBar

public static final java.lang.String PNAME_ScrollBar
See Also:
Constant Field Values

PNAME_ScrollBarAttr

public static final java.lang.String PNAME_ScrollBarAttr
See Also:
Constant Field Values

PNAME_Spinner

public static final java.lang.String PNAME_Spinner
See Also:
Constant Field Values

PNAME_Table

public static final java.lang.String PNAME_Table
See Also:
Constant Field Values

PNAME_DynamicTable

public static final java.lang.String PNAME_DynamicTable
See Also:
Constant Field Values

PNAME_TextField

public static final java.lang.String PNAME_TextField
See Also:
Constant Field Values

PNAME_Tree

public static final java.lang.String PNAME_Tree
See Also:
Constant Field Values

PNAME_Panel

public static final java.lang.String PNAME_Panel
See Also:
Constant Field Values

PNAME_Range

public static final java.lang.String PNAME_Range
See Also:
Constant Field Values

PNAME_Boolean

public static final java.lang.String PNAME_Boolean
See Also:
Constant Field Values

PNAME_Parameter

public static final java.lang.String PNAME_Parameter
See Also:
Constant Field Values

PNAME_ProgressBar

public static final java.lang.String PNAME_ProgressBar
See Also:
Constant Field Values

PNAME_ProgressBarAttr

public static final java.lang.String PNAME_ProgressBarAttr
See Also:
Constant Field Values

PNAME_Slider

public static final java.lang.String PNAME_Slider
See Also:
Constant Field Values

PNAME_SliderAttr

public static final java.lang.String PNAME_SliderAttr
See Also:
Constant Field Values

PNAME_Iterator

public static final java.lang.String PNAME_Iterator
See Also:
Constant Field Values

PNAME_MethodIterator

public static final java.lang.String PNAME_MethodIterator
See Also:
Constant Field Values

PNAME_AccessorIterator

public static final java.lang.String PNAME_AccessorIterator
See Also:
Constant Field Values

PNAME_ToplinkIterator

public static final java.lang.String PNAME_ToplinkIterator
See Also:
Constant Field Values

PNAME_EnumList

public static final java.lang.String PNAME_EnumList
See Also:
Constant Field Values

PNAME_HGrid

public static final java.lang.String PNAME_HGrid
See Also:
Constant Field Values

PNAME_LOVList

public static final java.lang.String PNAME_LOVList
See Also:
Constant Field Values

PNAME_NavigationList

public static final java.lang.String PNAME_NavigationList
See Also:
Constant Field Values

PNAME_MethodAction

public static final java.lang.String PNAME_MethodAction
See Also:
Constant Field Values

PNAME_DataControlAction

public static final java.lang.String PNAME_DataControlAction
See Also:
Constant Field Values

PNAME_Permission

public static final java.lang.String PNAME_Permission
See Also:
Constant Field Values

PNAME_TreeTable

public static final java.lang.String PNAME_TreeTable
See Also:
Constant Field Values

PNAME_Shuttle

public static final java.lang.String PNAME_Shuttle
See Also:
Constant Field Values

PNAME_EventBinding

public static final java.lang.String PNAME_EventBinding
See Also:
Constant Field Values

PNAME_EventEnabled

public static final java.lang.String PNAME_EventEnabled
See Also:
Constant Field Values

PNAME_EventEnabled_PUSH

public static final java.lang.String PNAME_EventEnabled_PUSH
See Also:
Constant Field Values

PNAME_EventEnabled_PPR

public static final java.lang.String PNAME_EventEnabled_PPR
See Also:
Constant Field Values

PNAME_EventEnabled_NONE

public static final java.lang.String PNAME_EventEnabled_NONE
See Also:
Constant Field Values

EMPTY_STR

protected static final java.lang.String EMPTY_STR
See Also:
Constant Field Values

Constructor Detail

DCDefBase

public DCDefBase()

DCDefBase

public DCDefBase(int defScope,
                 java.lang.String name)

DCDefBase

public DCDefBase(java.lang.String name)

Method Detail

init

public void init(java.util.HashMap initValues)

initSubType

protected void initSubType()

getSubType

public java.lang.String getSubType()

setSubType

public void setSubType(java.lang.String subType)

getDefClassName

public java.lang.String getDefClassName()

setDefClassName

public void setDefClassName(java.lang.String defClassName)

isDirty

public boolean isDirty()
Description copied from interface: DefPersistable
This method returns if an Object is modified from last save/load
Specified by:
isDirty in interface DefPersistable
Overrides:
isDirty in class PersistableDefObject
Returns:
Returns true if the Object is dirty. Returns false otherwise.

setDirty

public void setDirty(boolean isDirty)
Description copied from interface: DefPersistable
This method marks the Object dirty
Specified by:
setDirty in interface DefPersistable
Overrides:
setDirty in class PersistableDefObject
Parameters:
isDirty - If true the Object is marked Dirty.

isNew

public boolean isNew()
Description copied from interface: DefPersistable
This method returns if this object is previously persisted.
Specified by:
isNew in interface DefPersistable
Overrides:
isNew in class PersistableDefObject
Returns:
true if the Object is previously persisted. Returns false otherwise.

setNew

public void setNew(boolean isNew)
Description copied from interface: DefPersistable
This method marks the as previously persisted. By default all objects are new objects. When the object is persisted first time, that object is marked as 'not new' object
Specified by:
setNew in interface DefPersistable
Overrides:
setNew in class PersistableDefObject
Parameters:
isNew - If true the Object is marked as new object.

readXMLString

public static void readXMLString(DefElement xmlElement,
                                 java.lang.String name,
                                 java.util.HashMap valueTab)

readXMLInt

public static void readXMLInt(DefElement xmlElement,
                              java.lang.String name,
                              java.util.HashMap valueTab)

readXMLLong

public static void readXMLLong(DefElement xmlElement,
                               java.lang.String name,
                               java.util.HashMap valueTab)

readXMLBoolean

public static void readXMLBoolean(DefElement xmlElement,
                                  java.lang.String name,
                                  java.util.HashMap valueTab)

readXMLStringArray

public static void readXMLStringArray(DefElement xmlElement,
                                      java.lang.String name,
                                      java.util.HashMap valueTab)

readXMLStringArrayList

public static void readXMLStringArrayList(DefElement xmlElement,
                                          java.lang.String name,
                                          java.util.ArrayList list)

readXMLStringArrayList

public static void readXMLStringArrayList(DefElement xmlElement,
                                          java.lang.String name,
                                          java.util.HashMap valueTab)

retrieveFromXML

protected void retrieveFromXML(DefElement xmlElement,
                               java.util.HashMap valueTab)

loadChildrenFromXML

protected void loadChildrenFromXML(DefElement xmlElement)

loadFromXML

public void loadFromXML(DefElement xmlElement)

createAndLoadFromXML

public static DCDefBase createAndLoadFromXML(DefElement xmlElement,
                                             java.lang.String defSubType)

getXMLElementTag

public abstract java.lang.String getXMLElementTag()
Description copied from interface: PersistentDefinition
Returns a piece of static info for the type of object this is invoked upon. Examples are PreparedStatements for insert, update, delete, and String containing a base the select statement for retrieving instances of this type through the SQLInputStream
Specified by:
getXMLElementTag in interface PersistentDefinition
Overrides:
getXMLElementTag in class PersistableDefObject
Returns:
returns the Statement required to store in Persitent Storage. Incase of XML, it just returns the String. In the case of SQL a JDBC PreparedStatement is returned.

getDefTypeId

public int getDefTypeId()

convertToInt

public static int convertToInt(java.lang.Object val)

convertToLong

public static long convertToLong(java.lang.Object val)

convertToBoolean

public static boolean convertToBoolean(java.lang.Object val)

convertToIntArray

public static int[] convertToIntArray(java.lang.Object[] arr)

loadPermissionDef

protected void loadPermissionDef(DefElement xmlElement)
Loads the information about permission to the Def

getPermissionDef

public DCPermissionDef getPermissionDef()

setPermissionDef

protected void setPermissionDef(DCPermissionDef permissionDef)

getPersonalizerClass

protected java.lang.Class getPersonalizerClass()

getPersonalizer

public Personalizer getPersonalizer()

getDefXMLNameSpace

public java.lang.String getDefXMLNameSpace()
Specified by:
getDefXMLNameSpace in interface PersistentDefinition
Overrides:
getDefXMLNameSpace in class PersistableDefObject

getOrigObject

public DefPersistable getOrigObject()
Specified by:
getOrigObject in interface DefPersistable
Overrides:
getOrigObject in class PersistableDefObject

setOrigObject

public void setOrigObject(DefPersistable oldObj)
Specified by:
setOrigObject in interface DefPersistable
Overrides:
setOrigObject in class PersistableDefObject

loadXMLContents

public void loadXMLContents(DefElement xmlElement,
                            java.lang.String fullName)
Overrides:
loadXMLContents in class PersistableDefObject

convertToDataChangePolicy

protected DataControl.DataChangeEventPolicy convertToDataChangePolicy(java.lang.Object object)

Skip navigation links

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

E10653-03


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