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

E10653-05

oracle.jbo.uicli.binding
Class JUCtrlHierTypeBinding

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
                  extended by oracle.adf.model.binding.DCControlBindingDef
                      extended by oracle.jbo.uicli.binding.JUControlDef
                          extended by oracle.jbo.uicli.binding.JUCtrlValueDef
                              extended by oracle.jbo.uicli.binding.JUCtrlHierTypeBinding
All Implemented Interfaces:
DefPersistable, PersistentDefinition, ValidationManager
Direct Known Subclasses:
JUTreeAccessorTypeBinding, JUTreeDiscrAttrTypeBinding

public class JUCtrlHierTypeBinding
extends JUCtrlValueDef

javabean.class
name=JUCtrlHierTypeBinding

Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType
 
Field Summary
protected  java.lang.String[] mAttrBinds
           
protected  java.lang.String[] mChildAccessorLabels
           
protected  java.lang.String[] mChildAccessorNames
           
protected  java.lang.String mDiscrColumnName
           
protected  java.lang.Object mDiscrColumnValue
           
protected  java.lang.String mLabelResId
           
protected  java.lang.String mRegionName
           
protected  java.lang.String mTargetIter
           
protected  java.lang.String mViewInstanceName
           
protected  java.lang.String mVODefName
           
static java.lang.String PNAME_AccessorLabels
           
static java.lang.String PNAME_AccessorName
           
static java.lang.String PNAME_AttrBinds
           
static java.lang.String PNAME_AttrNames
           
static java.lang.String PNAME_Binds
           
static java.lang.String PNAME_ClosedIconName
           
static java.lang.String PNAME_DiscrColumnName
           
static java.lang.String PNAME_DiscrColumnValue
           
static java.lang.String PNAME_FolderLabel
           
static java.lang.String PNAME_IconName
           
static java.lang.String PNAME_OpenIconName
           
static java.lang.String PNAME_RegionName
           
static java.lang.String PNAME_TargetIterator
           
static java.lang.String PNAME_TYPE
           
static java.lang.String PNAME_Value
           
static java.lang.String PNAME_ViewDefName
           
static java.lang.String PNAME_ViewInstanceName
           
static int RANGESIZE_UNINIT
           
 
Fields inherited from class oracle.jbo.uicli.binding.JUCtrlValueDef
DEFAULT_HANDLER, PNAME_ApplyValidation, PNAME_AttrViewExprs, PNAME_CtrlPermission, PNAME_IncludeSelectionAttr, PNAME_InputHandler, PNAME_ListNullValueId, PNAME_Permissions, PNAME_SelectionAttr, PNAME_SelectionValue, PNAME_UnSelectionValue, PNAME_UseRowHints
 
Fields inherited from class oracle.adf.model.binding.DCControlBindingDef
PNAME_ControlBindingClass, PNAME_ControlClass, PNAME_CustomInputHandler, PNAME_InitialValue, PNAME_IterBinding, PNAME_Viewable
 
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 oracle.jbo.mom.DefinitionObject
DEF_MDS_CLIENT_KEY, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP
 
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
JUCtrlHierTypeBinding()
           
JUCtrlHierTypeBinding(java.lang.String voTypeName, java.lang.String discrColumnName, java.lang.String discrColumnValue, java.lang.String accessorName, java.lang.String attrName, javax.swing.Icon leafIcon, javax.swing.Icon openIcon, javax.swing.Icon closedIcon)
           
 
Method Summary
protected  JUCtrlHierTypeBinding cloneType()
          For Framework internal use only
protected  DCControlBinding createControlBindingInstance(java.lang.Object control, DCBindingContainer formBnd)
          For Framework internal use only
 java.lang.String getAccessorLabel(java.lang.String accName, DCBindingContainer container)
          For Framework internal use only
 java.lang.String[] getAccessorLabels()
          For Framework internal use only
 java.lang.String getAccessorName()
          For Framework internal use only
 java.lang.String[] getAccessorNames()
          For Framework internal use only
 java.lang.String[] getAttributeBindNames()
          For Framework internal use only only for test purposes.
 java.util.List<EventDefinition> getAttributeChangeEventDefinitions(java.lang.String attrName)
           
 java.lang.String getAttributeName()
          For Framework internal use only
 javax.swing.Icon getClosedIcon()
          For Framework internal use only
 java.lang.String getClosedIconName()
          For Framework internal use only
 java.util.List<EventDefinition> getCurrencyChangeEventDefinitions()
           
 java.lang.String getDiscrColumnName()
          For Framework internal use only
 java.lang.Object getDiscrColumnValue()
          For Framework internal use only
 javax.swing.Icon getLeafIcon()
          For Framework internal use only
 java.lang.String getLeafIconName()
          For Framework internal use only
 javax.swing.Icon getOpenIcon()
          For Framework internal use only
 java.lang.String getOpenIconName()
          For Framework internal use only
 int getRangeSize()
          For Framework internal use only only for test purposes.
 int getRangeSizeRawValue()
          For Framework internal use only only for test purposes.
 java.lang.String getRegionName()
           
 java.lang.String getStructureDefName()
          For Framework internal use only
 java.lang.String getTargetIterator()
           
 java.lang.String getViewDefName()
          Deprecated. since 10.1.3 use getStructureDefName instead.
 java.lang.String getViewInstanceName()
          For Framework internal use only
 java.lang.String getXMLElementTag()
          For Framework internal use only
 boolean hasAttributeBindNames()
          For Framework internal use only only for test purposes.
 boolean hasAttributeChangeEventDefinitions()
           
 boolean hasCurrencyChangeEventDefinitions()
           
 boolean hasEventDefinitions()
           
 boolean hasIcon()
          For Framework internal use only
 void init(java.util.HashMap initValues)
          For Framework internal use only
 boolean isDiscrColumnType()
          Returns false as this type of node does not support discriminator columns.
protected  void loadChildrenFromXML(DefElement xmlElement)
          For Framework internal use only
protected  void loadPermissionDef(DefElement xmlElement)
          Loads the information about permission to the Def
 boolean matchRowDiscrColumn(Row row)
          Returns true if the given row has an attribute value for the discriminator attribute that this node type is interested in, such that that attribute value matches this type's discriminator attribute value.
 boolean matchViewObjectType(java.lang.String str)
          Returns true if the given string matches the fully-qualified ViewObject definition name that this node-type is supposed to display.
 boolean matchViewObjectTypeWithSubs(java.lang.String str, java.lang.String[] substitutedDefNames)
           
protected  void retrieveFromXML(DefElement xmlElement, java.util.HashMap valueTab)
          For Framework internal use only
 
Methods inherited from class oracle.jbo.uicli.binding.JUCtrlValueDef
addValidator, getAttrNames, getAttrViewExpressions, getChangeEventPolicy, getCustomInputHandler, getEventDefList, getFirstAttrName, getIterBinding, getMessageBundleClass, getNullValueId, getNullValueObject, getResourceBundleDef, getSelectionDef, getValidators, hasCustomInputHandler, initializeControlBinding, initSelectionDef, isApplyValidation, isPushDataChangeEvents, isPushOrPollDataChangeEvents, isUseRowHints, loadCustomDef, loadEventDefinitions, loadFromXML, setApplyValidation, setAttributeNames, setCustomInputHandler, setEventDefList, setNullValueObject, setSelectionDef, setUseRowHints
 
Methods inherited from class oracle.adf.model.binding.DCControlBindingDef
createControl, createControlBinding, createControlBinding, findControlBinding, getBindingContainerDef, getControlBindingClassName, getControlClassName, getDefTypeId, getDesignTimeClass, getInitialValue, getIterBinding, getIterBindingName, getLayoutCons, getViewableExpr, setBindingContainerDef, setControlBindingClassName, setControlClassName, setInitialValue, setIterBindingName
 
Methods inherited from class oracle.adf.model.binding.DCDefBase
convertToBoolean, convertToDataChangePolicy, convertToInt, convertToIntArray, convertToLong, createAndLoadFromXML, getDefClassName, getDefXMLNameSpace, getOrigObject, getPermissionDef, getPersonalizer, getPersonalizerClass, getSubType, initSubType, isDirty, isNew, loadXMLContents, readXMLBoolean, readXMLInt, readXMLLong, readXMLString, readXMLStringArray, readXMLStringArrayList, readXMLStringArrayList, setDefClassName, setDirty, setNew, setOrigObject, setPermissionDef, setSubType
 
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, isCustomizationEnabled, isCustomizationEnabled, isEditable, isPersonalizationEnabled, isPersonalizationEnabled, loadDefImports, mergePropertyMap, objectRemoved, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, removeDefImport, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setEditable, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, 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, getPropertyExpressionsMap, getResourcesFromBundle, getStringFromMessageBundle, isPropertyExpression, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, 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.rules.ValidationManager
getFullName, getName
 
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable
getFullName
 

Field Detail

mVODefName

protected java.lang.String mVODefName

mDiscrColumnName

protected java.lang.String mDiscrColumnName

mDiscrColumnValue

protected java.lang.Object mDiscrColumnValue

mChildAccessorNames

protected java.lang.String[] mChildAccessorNames

mChildAccessorLabels

protected java.lang.String[] mChildAccessorLabels

mAttrBinds

protected java.lang.String[] mAttrBinds

RANGESIZE_UNINIT

public static final int RANGESIZE_UNINIT
See Also:
Constant Field Values

mTargetIter

protected java.lang.String mTargetIter

mRegionName

protected java.lang.String mRegionName

mLabelResId

protected java.lang.String mLabelResId

mViewInstanceName

protected java.lang.String mViewInstanceName

PNAME_TYPE

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

PNAME_ViewDefName

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

PNAME_DiscrColumnName

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

PNAME_DiscrColumnValue

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

PNAME_AccessorName

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

PNAME_AttrBinds

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

PNAME_IconName

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

PNAME_OpenIconName

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

PNAME_ClosedIconName

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

PNAME_RegionName

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

PNAME_TargetIterator

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

PNAME_ViewInstanceName

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

PNAME_AccessorLabels

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

PNAME_AttrNames

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

PNAME_Value

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

PNAME_Binds

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

PNAME_FolderLabel

public static final java.lang.String PNAME_FolderLabel
See Also:
Constant Field Values
Constructor Detail

JUCtrlHierTypeBinding

public JUCtrlHierTypeBinding()

JUCtrlHierTypeBinding

public JUCtrlHierTypeBinding(java.lang.String voTypeName,
                             java.lang.String discrColumnName,
                             java.lang.String discrColumnValue,
                             java.lang.String accessorName,
                             java.lang.String attrName,
                             javax.swing.Icon leafIcon,
                             javax.swing.Icon openIcon,
                             javax.swing.Icon closedIcon)
Method Detail

init

public void init(java.util.HashMap initValues)
For Framework internal use only

Overrides:
init in class JUCtrlValueDef

getRangeSize

public int getRangeSize()
For Framework internal use only only for test purposes.


getRangeSizeRawValue

public int getRangeSizeRawValue()
For Framework internal use only only for test purposes.


getAttributeBindNames

public java.lang.String[] getAttributeBindNames()
For Framework internal use only only for test purposes.


hasAttributeBindNames

public boolean hasAttributeBindNames()
For Framework internal use only only for test purposes.


getAccessorLabel

public java.lang.String getAccessorLabel(java.lang.String accName,
                                         DCBindingContainer container)
For Framework internal use only


getXMLElementTag

public java.lang.String getXMLElementTag()
For Framework internal use only

Specified by:
getXMLElementTag in interface PersistentDefinition
Overrides:
getXMLElementTag in class DCControlBindingDef
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.

getStructureDefName

public java.lang.String getStructureDefName()
For Framework internal use only


getViewDefName

public java.lang.String getViewDefName()
Deprecated. since 10.1.3 use getStructureDefName instead.

For Framework internal use only

javabean.property

getViewInstanceName

public java.lang.String getViewInstanceName()
For Framework internal use only

javabean.property

getDiscrColumnName

public java.lang.String getDiscrColumnName()
For Framework internal use only


getDiscrColumnValue

public java.lang.Object getDiscrColumnValue()
For Framework internal use only


getAccessorName

public java.lang.String getAccessorName()
For Framework internal use only


getAttributeName

public java.lang.String getAttributeName()
For Framework internal use only


getAccessorNames

public java.lang.String[] getAccessorNames()
For Framework internal use only


getAccessorLabels

public java.lang.String[] getAccessorLabels()
For Framework internal use only


hasIcon

public boolean hasIcon()
For Framework internal use only


getLeafIconName

public java.lang.String getLeafIconName()
For Framework internal use only


getOpenIconName

public java.lang.String getOpenIconName()
For Framework internal use only


getClosedIconName

public java.lang.String getClosedIconName()
For Framework internal use only


getLeafIcon

public javax.swing.Icon getLeafIcon()
For Framework internal use only


getOpenIcon

public javax.swing.Icon getOpenIcon()
For Framework internal use only


getClosedIcon

public javax.swing.Icon getClosedIcon()
For Framework internal use only


getTargetIterator

public java.lang.String getTargetIterator()

getRegionName

public java.lang.String getRegionName()
For internal use only. Application developers should not use this

matchViewObjectType

public boolean matchViewObjectType(java.lang.String str)
Returns true if the given string matches the fully-qualified ViewObject definition name that this node-type is supposed to display.


matchViewObjectTypeWithSubs

public boolean matchViewObjectTypeWithSubs(java.lang.String str,
                                           java.lang.String[] substitutedDefNames)

matchRowDiscrColumn

public boolean matchRowDiscrColumn(Row row)
Returns true if the given row has an attribute value for the discriminator attribute that this node type is interested in, such that that attribute value matches this type's discriminator attribute value.


isDiscrColumnType

public boolean isDiscrColumnType()
Returns false as this type of node does not support discriminator columns.


retrieveFromXML

protected void retrieveFromXML(DefElement xmlElement,
                               java.util.HashMap valueTab)
For Framework internal use only

Overrides:
retrieveFromXML in class DCControlBindingDef

loadChildrenFromXML

protected void loadChildrenFromXML(DefElement xmlElement)
For Framework internal use only

Overrides:
loadChildrenFromXML in class JUCtrlValueDef

hasEventDefinitions

public boolean hasEventDefinitions()

hasCurrencyChangeEventDefinitions

public boolean hasCurrencyChangeEventDefinitions()

hasAttributeChangeEventDefinitions

public boolean hasAttributeChangeEventDefinitions()

getCurrencyChangeEventDefinitions

public java.util.List<EventDefinition> getCurrencyChangeEventDefinitions()

getAttributeChangeEventDefinitions

public java.util.List<EventDefinition> getAttributeChangeEventDefinitions(java.lang.String attrName)

createControlBindingInstance

protected DCControlBinding createControlBindingInstance(java.lang.Object control,
                                                        DCBindingContainer formBnd)
For Framework internal use only

Overrides:
createControlBindingInstance in class JUCtrlValueDef

cloneType

protected JUCtrlHierTypeBinding cloneType()
For Framework internal use only


loadPermissionDef

protected void loadPermissionDef(DefElement xmlElement)
Description copied from class: DCDefBase
Loads the information about permission to the Def

Overrides:
loadPermissionDef in class DCDefBase

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

E10653-05

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