Skip navigation links

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

E10653-06


oracle.jbo.uicli.binding
Class JUCtrlValueDef

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

All Implemented Interfaces:
DefPersistable, PersistentDefinition, ValidationManager
Direct Known Subclasses:
JUCtrlAttrsDef, JUCtrlHierTypeBinding, JUCtrlRangeDef

public abstract class JUCtrlValueDef
extends JUControlDef
implements ValidationManager

Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType

 

Field Summary
static java.lang.String DEFAULT_HANDLER
           
static java.lang.String PNAME_ApplyValidation
           
static java.lang.String PNAME_AttrNames
           
static java.lang.String PNAME_AttrViewExprs
           
static java.lang.String PNAME_CtrlPermission
           
static java.lang.String PNAME_IncludeSelectionAttr
           
static java.lang.String PNAME_InputHandler
           
static java.lang.String PNAME_ListNullValueId
           
static java.lang.String PNAME_Permissions
           
static java.lang.String PNAME_SelectionAttr
           
static java.lang.String PNAME_SelectionValue
           
static java.lang.String PNAME_UnSelectionValue
           
static java.lang.String PNAME_UseRowHints
           

 

Fields inherited from class oracle.adf.model.binding.DCControlBindingDef
PNAME_ControlBindingClass, PNAME_ControlClass, PNAME_CustomInputHandler, PNAME_InitialValue, PNAME_IterBinding, PNAME_TYPE, 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
JUCtrlValueDef()
           
JUCtrlValueDef(java.lang.String name, java.lang.String controlClassName, java.lang.String controlBindingClassName, java.lang.String iterBindingName, java.lang.String[] attrNames)
           

 

Method Summary
 void addValidator(JboValidatorInterface intf)
           
protected  DCControlBinding createControlBindingInstance(java.lang.Object control, DCBindingContainer formBnd)
           
 java.lang.String[] getAttrNames()
           
 java.lang.String[] getAttrViewExpressions()
           
 DataControl.DataChangeEventPolicy getChangeEventPolicy()
           
 java.lang.String getCustomInputHandler()
           
 EventDefinition[] getEventDefList()
           
 java.lang.String getFirstAttrName()
           
 JUIteratorBinding getIterBinding(JUFormBinding formBnd)
           
 java.lang.Class getMessageBundleClass()
          Internal: Applications should not use this method.
 java.lang.String getNullValueId()
           
 java.lang.Object getNullValueObject()
           
 ResourceBundleDef getResourceBundleDef()
           
protected  oracle.jbo.uicli.binding.JUCtrlSelectionDef getSelectionDef()
           
 java.util.ArrayList getValidators()
           
 boolean hasCustomInputHandler()
           
 void init(java.util.HashMap initValues)
           
protected  void initializeControlBinding(DCBindingContainer formBnd, DCControlBinding controlBnd)
           
protected  void initSelectionDef(java.util.HashMap initValues)
           
 boolean isApplyValidation()
           
 boolean isPushDataChangeEvents()
          Deprecated. since 11.0. Use the binding instance's (JUCtrlValueBinding's) getDataChangeEventPolicy.
 boolean isPushOrPollDataChangeEvents()
           
 boolean isUseRowHints()
           
protected  void loadChildrenFromXML(DefElement xmlElement)
           
protected  void loadCustomDef(DefElement xmlElement)
          called after a binding's loadFromXML is done and it needs to load extra metadata like properties, validations etc.
protected  EventDefinition[] loadEventDefinitions(DefElement xmlElement)
           
 void loadFromXML(DefElement xmlElement)
           
 void setApplyValidation(boolean applyVal)
           
protected  void setAttributeNames(java.lang.String[] attrNames)
           
 void setCustomInputHandler(java.lang.String id)
           
 void setEventDefList(EventDefinition[] eventList)
           
protected  void setNullValueObject(java.lang.Object nullValue)
           
protected  void setSelectionDef(oracle.jbo.uicli.binding.JUCtrlSelectionDef sel)
           
 void setUseRowHints(boolean useRowHints)
           

 

Methods inherited from class oracle.adf.model.binding.DCControlBindingDef
createControl, createControlBinding, createControlBinding, findControlBinding, getBindingContainerDef, getControlBindingClassName, getControlClassName, getDefTypeId, getDesignTimeClass, getInitialValue, getIterBinding, getIterBindingName, getLayoutCons, getViewableExpr, getXMLElementTag, retrieveFromXML, 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, loadPermissionDef, loadXMLContents, readXMLBoolean, readXMLInt, readXMLLong, readXMLString, readXMLStringArray, readXMLStringArrayList, readXMLStringArrayList, setDefClassName, setDirty, setNew, setOrigObject, setPermissionDef, setSubType

 

Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, addExtendedDefObject, allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, findDefImport, finishedLoading, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getEditObject, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getPropertyMap, getSubstitutedNames, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isEditable, isPersonalizationEnabled, isPersonalizationEnabled, loadDefImports, mergePropertyMap, objectRemoved, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, 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
addPropertySetName, enableUpdateCheck, getBaseDefObject, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSuppressUpdateCheck, loadCustomProperties, loadProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, resolveReferences, setBaseDefObject, setBaseDefObject, setDefScope, setMdsKey, setMdsReference, setName, setObjectResolved, setParent, setPropertySetName, suppressUpdateCheck

 

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

PNAME_AttrViewExprs

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

PNAME_AttrNames

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

PNAME_SelectionAttr

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

PNAME_IncludeSelectionAttr

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

PNAME_SelectionValue

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

PNAME_UnSelectionValue

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

PNAME_ApplyValidation

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

PNAME_UseRowHints

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

PNAME_InputHandler

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

PNAME_ListNullValueId

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

DEFAULT_HANDLER

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

PNAME_Permissions

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

PNAME_CtrlPermission

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

Constructor Detail

JUCtrlValueDef

public JUCtrlValueDef()

JUCtrlValueDef

public JUCtrlValueDef(java.lang.String name,
                      java.lang.String controlClassName,
                      java.lang.String controlBindingClassName,
                      java.lang.String iterBindingName,
                      java.lang.String[] attrNames)

Method Detail

setAttributeNames

protected void setAttributeNames(java.lang.String[] attrNames)

init

public void init(java.util.HashMap initValues)
Overrides:
init in class JUControlDef

initSelectionDef

protected void initSelectionDef(java.util.HashMap initValues)

isPushDataChangeEvents

public boolean isPushDataChangeEvents()
Deprecated. since 11.0. Use the binding instance's (JUCtrlValueBinding's) getDataChangeEventPolicy.

isPushOrPollDataChangeEvents

public boolean isPushOrPollDataChangeEvents()

getChangeEventPolicy

public DataControl.DataChangeEventPolicy getChangeEventPolicy()

getSelectionDef

protected oracle.jbo.uicli.binding.JUCtrlSelectionDef getSelectionDef()

setSelectionDef

protected void setSelectionDef(oracle.jbo.uicli.binding.JUCtrlSelectionDef sel)

isApplyValidation

public boolean isApplyValidation()

setApplyValidation

public void setApplyValidation(boolean applyVal)

isUseRowHints

public boolean isUseRowHints()

setUseRowHints

public void setUseRowHints(boolean useRowHints)

createControlBindingInstance

protected DCControlBinding createControlBindingInstance(java.lang.Object control,
                                                        DCBindingContainer formBnd)
Specified by:
createControlBindingInstance in class DCControlBindingDef

getFirstAttrName

public java.lang.String getFirstAttrName()

setNullValueObject

protected void setNullValueObject(java.lang.Object nullValue)

getNullValueId

public java.lang.String getNullValueId()

getNullValueObject

public java.lang.Object getNullValueObject()

getAttrViewExpressions

public java.lang.String[] getAttrViewExpressions()

getAttrNames

public java.lang.String[] getAttrNames()

addValidator

public void addValidator(JboValidatorInterface intf)
Specified by:
addValidator in interface ValidationManager

getValidators

public java.util.ArrayList getValidators()
Specified by:
getValidators in interface ValidationManager

getCustomInputHandler

public java.lang.String getCustomInputHandler()

hasCustomInputHandler

public boolean hasCustomInputHandler()

setCustomInputHandler

public void setCustomInputHandler(java.lang.String id)

getEventDefList

public EventDefinition[] getEventDefList()

setEventDefList

public void setEventDefList(EventDefinition[] eventList)

loadChildrenFromXML

protected void loadChildrenFromXML(DefElement xmlElement)
Overrides:
loadChildrenFromXML in class DCControlBindingDef

loadEventDefinitions

protected EventDefinition[] loadEventDefinitions(DefElement xmlElement)

loadCustomDef

protected void loadCustomDef(DefElement xmlElement)
Description copied from class: DCControlBindingDef
called after a binding's loadFromXML is done and it needs to load extra metadata like properties, validations etc. BindingContainerDef is already set by this time on the controldef.
Overrides:
loadCustomDef in class DCControlBindingDef

loadFromXML

public void loadFromXML(DefElement xmlElement)
Overrides:
loadFromXML in class DCDefBase

getIterBinding

public JUIteratorBinding getIterBinding(JUFormBinding formBnd)
Overrides:
getIterBinding in class JUControlDef

getMessageBundleClass

public final java.lang.Class getMessageBundleClass()
Internal: Applications should not use this method.

Returns the class of the reference object.

Returns:
the class of the reference object.

getResourceBundleDef

public final ResourceBundleDef getResourceBundleDef()
Specified by:
getResourceBundleDef in interface ValidationManager

initializeControlBinding

protected void initializeControlBinding(DCBindingContainer formBnd,
                                        DCControlBinding controlBnd)
Overrides:
initializeControlBinding in class DCControlBindingDef

Skip navigation links

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

E10653-06


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