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 JUCtrlParameterDef

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.JUCtrlAttrsDef
                                  extended by oracle.jbo.uicli.binding.JUCtrlParameterDef
All Implemented Interfaces:
AttributeDef, AttributeHints, GenericHints, DefPersistable, PersistentDefinition, Properties, ValidationManager

public class JUCtrlParameterDef
extends JUCtrlAttrsDef
implements AttributeDef, AttributeHints


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType
 
Nested classes/interfaces inherited from interface oracle.jbo.AttributeHints
AttributeHints.ControlType
 
Field Summary
static int PARAM_DEFAULT
          For internal use only.
static int PARAM_FINAL
          Binding definition has the expression to get to the value that should be used for this parameter.
static int PARAM_MANDATORY
          Parameter value has to be set by the caller.
static int PARAM_OPTIONAL
          Binding definition's value is used only if the parameter is not specifically set by the caller.
static java.lang.String PNAME_Option
           
static java.lang.String PNAME_Precision
           
static java.lang.String PNAME_PrecisionRule
           
static java.lang.String PNAME_ReadOnly
           
static java.lang.String PNAME_Scale
           
static java.lang.String PNAME_Type
           
static java.lang.String PNAME_Value
           
 
Fields inherited from class oracle.jbo.uicli.binding.JUCtrlValueDef
DEFAULT_HANDLER, PNAME_ApplyValidation, PNAME_AttrNames, 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_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.AttributeDef
ATTR_ASSOCIATED_ROW, ATTR_ASSOCIATED_ROWITERATOR, ATTR_DYNAMIC, ATTR_ENTITY_DERIVED, ATTR_HIDDEN, ATTR_PERSISTENT, ATTR_ROWSET, ATTR_SQL_DERIVED, ATTR_TRANSIENT, ATTR_VARIABLE, READONLY, UPDATEABLE, UPDATEABLE_WHILE_NEW
 
Fields inherited from interface oracle.jbo.AttributeHints
ATTRIBUTE_AUTOSUBMIT, ATTRIBUTE_BINDEDITOR_LABEL, ATTRIBUTE_CTL_CATEGORY, ATTRIBUTE_CTL_DISPLAYHEIGHT, ATTRIBUTE_CTL_DISPLAYWIDTH, ATTRIBUTE_CTL_FIELD_ORDER, ATTRIBUTE_CTL_FORMTYPE, ATTRIBUTE_CTL_TYPE, ATTRIBUTE_DISPLAY_HINT, ATTRIBUTE_DISPLAY_HINT_DISPLAY, ATTRIBUTE_DISPLAY_HINT_HIDE, ATTRIBUTE_FORM_TYPE_DETAIL, ATTRIBUTE_FORM_TYPE_SHORT, ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_PLURAL, ATTRIBUTE_TOOLTIP, CTL_CHECK_BOX, CTL_CHOICE_LIST, CTL_COMBO_BOX, CTL_COMBO_BOX_LOV, CTL_DATE, CTL_DEFAULT, CTL_DELIMITEDIDS_CHOICE, CTL_EDIT, CTL_IMAGE, CTL_INPUT_TEXT_LOV, CTL_LIST_BOX, CTL_NUMBER_EDIT, CTL_RADIO_GROUP, CTLTYPE_CHECKBOX, CTLTYPE_COMBO, CTLTYPE_COMBOLOV, CTLTYPE_DATE, CTLTYPE_DEFAULT, CTLTYPE_DELIMITEDIDS_CHOICE, CTLTYPE_EDIT, CTLTYPE_IMAGE, CTLTYPE_LIST, CTLTYPE_LISTBOX, CTLTYPE_LOV, CTLTYPE_NUMEDIT, CTLTYPE_RADIOGRP, CTLTYPE_TOGGLE, FMT_FORMAT, FMT_FORMATTER, HINT_NAME_AUTOSUBMIT, HINT_NAME_CATEGORY, HINT_NAME_CTL_TYPE, HINT_NAME_DESCRIPTION, HINT_NAME_DISPLAY_HEIGHT, HINT_NAME_DISPLAY_HINT, HINT_NAME_DISPLAY_WIDTH, HINT_NAME_FIELD_ORDER, HINT_NAME_FORMAT, HINT_NAME_LABEL, HINT_NAME_MANDATORY, HINT_NAME_MAX_VALUE, HINT_NAME_MIN_LENGTH, HINT_NAME_MIN_VALUE, HINT_NAME_SECRET, HINT_NAME_TOOLTIP, HINT_NAME_UPDATEABLE, PNAME_Button, PNAME_ButtonGroup, PNAME_ComboBox, PNAME_ComboBoxLovEdit, PNAME_EnumList, PNAME_LovButton, PNAME_TextField
 
Fields inherited from interface oracle.jbo.GenericHints
PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP
 
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT
 
Constructor Summary
JUCtrlParameterDef()
           
 
Method Summary
protected  DCControlBinding createControlBindingInstance(java.lang.Object control, DCBindingContainer formBnd)
           
 boolean displayInShortForm(LocaleContext locale)
          Returns true if the attribute is to displayed in the short(summary) form.
 ViewObject getAccessorVO(ViewObject originVO)
          For an accessor attribute, this method creates a View Object that works for the View Link definition.
 byte getAttributeKind()
          *** For internal framework use only ***
 java.lang.String getColumnName()
          For internal framework use only ***
 java.lang.String getColumnNameForQuery()
          For internal framework use only ***
 java.lang.String[][] getCompOpers(LocaleContext locale)
          Returns a Map of operators for this attribute.
 int getControlType(LocaleContext locale)
          Returns the preferred control type for this attribute
 int getDisplayHeight(LocaleContext locale)
          Returns the display width for this attribute
 java.lang.String getDisplayHint(LocaleContext locale)
          Retrieves the displya hint that dictates whether this attributr should be visible or not.
 int getDisplayWidth(LocaleContext locale)
          Returns the display width for this attribute
 int getElemSQLType()
          Returns the jdbc type of the elements of this attribute.
 java.lang.Class getElemType()
          Returns the element type of the attribute.
 java.lang.String getExpression()
           
 java.lang.String getFormat(LocaleContext locale)
          returns the format string stored in the ui hints
 java.lang.String getFormattedAttribute(AttributeList attrList, LocaleContext locale)
          Returns the formatted value for the attribute.
 Formatter getFormatter(LocaleContext locale)
          returns the formatter object stored in the ui hints
 java.lang.String getFormatterClassName(LocaleContext locale)
          returns the formatter class stored in the ui hints
 java.lang.String getHint(LocaleContext locale, java.lang.String sHintName)
          Return defaulted hint value based on the hint name
 java.lang.String getHintValue(LocaleContext locale, java.lang.String sHintName)
          Return hint value based on the hint name
 int getIndex()
          Always return 0.
 java.lang.Class getJavaType()
          Returns javatype of the value that bound expression returns.
 java.lang.String getLabel(LocaleContext locale)
          Retrieves the label to be used in any attribute prompts
 java.lang.String getLabelPlural(LocaleContext locale)
          Retrives the LabelPlural text to be used for this attribute
 ListBindingDef getListBindingDef()
           
 java.lang.String getLocaleName(LocaleContext locale, java.lang.String sName)
          function for retrieving the locale name of a hint
 java.lang.String getLOVName()
          Gets the name of the LOV (list of values) associated with this attribute definition.
 java.util.Map getOperators(LocaleContext locale)
           
 int getOptionFlag()
           
 int getPrecision()
          Return Precision value from metadata for this binding.
 int getScale()
          Return Scale value from metadata for this binding.
 int getSQLType()
          Always return -1.
 java.lang.String getTooltip(LocaleContext locale)
          Retrives the tooltip text to be used for this attribute
 AttributeHints getUIHelper()
          Returns this, as this object also implements AttributeHints interface
 byte getUpdateableFlag()
          Tests if an attribute can be modified.
 boolean hasFormatInformation(LocaleContext locale)
          Return true if any format hints have been defined for this attribute.
 void init(java.util.HashMap initValues)
           
protected  void initSubType()
           
 boolean isApplyPrecision()
           
 boolean isAutoSubmit(LocaleContext locale)
          Returns autoSubmit value for this attribute.
 boolean isDiscrColumn()
          Tests if an attribute is a discriminator.
 boolean isFinal()
           
 boolean isMandatory()
          Tests if an attribute does not allow null values.
 boolean isOptional()
           
 boolean isPrimaryKey()
          Always return false
 boolean isQueriable()
          This binding is not queriable.
 boolean isReadOnly()
          Return Updateable flag from metadata for this binding.
 boolean isSelected()
          This binding is not queriable.
 java.lang.Object parseFormattedAttribute(java.lang.String sValue, LocaleContext locale)
          Strips off the formatting from a string and constructs an instance of the attribute's domain using the 'clean' string as a parameter of the contructor.
protected  void retrieveFromXML(DefElement xmlElement, java.util.HashMap valueTab)
           
 
Methods inherited from class oracle.jbo.uicli.binding.JUCtrlAttrsDef
initializeControlBinding
 
Methods inherited from class oracle.jbo.uicli.binding.JUCtrlValueDef
addValidator, getAttrNames, getAttrViewExpressions, getChangeEventPolicy, getCustomInputHandler, getEventDefList, getFirstAttrName, getIterBinding, getMessageBundleClass, getNullValueId, getNullValueObject, getResourceBundleDef, getSelectionDef, getValidators, hasCustomInputHandler, initSelectionDef, isApplyValidation, isPushDataChangeEvents, isPushOrPollDataChangeEvents, isUseRowHints, loadChildrenFromXML, 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, getXMLElementTag, 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, 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, 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.AttributeDef
getName
 
Methods inherited from interface oracle.jbo.Properties
getProperties, getProperty, getProperty, refreshProperty
 
Methods inherited from interface oracle.jbo.rules.ValidationManager
getFullName, getName
 
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable
getFullName
 

Field Detail

PARAM_FINAL

public static int PARAM_FINAL
Binding definition has the expression to get to the value that should be used for this parameter.


PARAM_OPTIONAL

public static int PARAM_OPTIONAL
Binding definition's value is used only if the parameter is not specifically set by the caller. This is the default.


PARAM_MANDATORY

public static int PARAM_MANDATORY
Parameter value has to be set by the caller.


PARAM_DEFAULT

public static int PARAM_DEFAULT
For internal use only.


PNAME_Value

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

PNAME_Type

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

PNAME_Scale

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

PNAME_Precision

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

PNAME_Option

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

PNAME_ReadOnly

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

PNAME_PrecisionRule

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

JUCtrlParameterDef

public JUCtrlParameterDef()
Method Detail

initSubType

protected void initSubType()
Overrides:
initSubType in class JUCtrlAttrsDef

createControlBindingInstance

protected DCControlBinding createControlBindingInstance(java.lang.Object control,
                                                        DCBindingContainer formBnd)
Overrides:
createControlBindingInstance in class JUCtrlAttrsDef

getAttributeKind

public final byte getAttributeKind()
*** For internal framework use only ***

Specified by:
getAttributeKind in interface AttributeDef
Returns:
one of the ATTR constants defined for this class.

getColumnName

public final java.lang.String getColumnName()
For internal framework use only ***

Specified by:
getColumnName in interface AttributeDef
Returns:
the name of the column.

getExpression

public final java.lang.String getExpression()

getColumnNameForQuery

public final java.lang.String getColumnNameForQuery()
For internal framework use only ***

Specified by:
getColumnNameForQuery in interface AttributeDef
Returns:
the column name to be used in query.

getIndex

public final int getIndex()
Always return 0.

Specified by:
getIndex in interface AttributeDef
Returns:
the index of the attribute row's definition object.

getJavaType

public final java.lang.Class getJavaType()
Returns javatype of the value that bound expression returns.

Specified by:
getJavaType in interface AttributeDef
Returns:
the class of the attribute.

getSQLType

public final int getSQLType()
Always return -1.

Specified by:
getSQLType in interface AttributeDef
Returns:
the JDBC type.
See Also:
Types

getScale

public final int getScale()
Return Scale value from metadata for this binding.

Specified by:
getScale in interface AttributeDef
Returns:
the scale value for this attribute, if applicable.

getPrecision

public final int getPrecision()
Return Precision value from metadata for this binding.

Specified by:
getPrecision in interface AttributeDef
Returns:
the precision value for this attribute.

isDiscrColumn

public final boolean isDiscrColumn()
Description copied from interface: AttributeDef
Tests if an attribute is a discriminator. Discriminating attributes are those whose values determine the (sub)type representing the entity.

Specified by:
isDiscrColumn in interface AttributeDef
Returns:
true if this is a Discriminator Column; false otherwise.

isSelected

public final boolean isSelected()
This binding is not queriable.

Specified by:
isSelected in interface AttributeDef

isQueriable

public final boolean isQueriable()
This binding is not queriable.

Specified by:
isQueriable in interface AttributeDef
Returns:
true if this attribute is queriable.

isReadOnly

public final boolean isReadOnly()
Return Updateable flag from metadata for this binding.


getUpdateableFlag

public final byte getUpdateableFlag()
Description copied from interface: AttributeDef
Tests if an attribute can be modified.

Specified by:
getUpdateableFlag in interface AttributeDef
Returns:
READONLY, UPDATEABLE, or UPDATEABLE_WHILE_NEW.

isPrimaryKey

public final boolean isPrimaryKey()
Always return false

Specified by:
isPrimaryKey in interface AttributeDef
Returns:
true if this is either a Primary Key attribute or part of the attributes that constitute the Primary Key for a given row.

isApplyPrecision

public final boolean isApplyPrecision()

isMandatory

public final boolean isMandatory()
Description copied from interface: AttributeDef
Tests if an attribute does not allow null values.

Specified by:
isMandatory in interface AttributeDef
Returns:
true if this attribute cannot store a null value

isOptional

public final boolean isOptional()

isFinal

public final boolean isFinal()

getOptionFlag

public int getOptionFlag()

getUIHelper

public final AttributeHints getUIHelper()
Returns this, as this object also implements AttributeHints interface

Specified by:
getUIHelper in interface AttributeDef
See Also:
AttributeHints

getElemType

public final java.lang.Class getElemType()
Description copied from interface: AttributeDef
Returns the element type of the attribute.

For VARRAYs, this method returns the class name of the elements that are in the VARRAY.

Element type is relevant only if the attribute is an array attribute.

Specified by:
getElemType in interface AttributeDef
Returns:
the attribute's element class, or null if the attribute is not an array attribute.

getElemSQLType

public final int getElemSQLType()
Description copied from interface: AttributeDef
Returns the jdbc type of the elements of this attribute.

For VARRAYs, this method returns the jdbc type of the elements that are in the VARRAY.

Element type is relevant only if the attribute is an array attribute.

Specified by:
getElemSQLType in interface AttributeDef
Returns:
the jdbc type (java.sql.Types.*) of this attribute's elements, or java.sql.Types.NULL if this attribute is not an array attribute.

getAccessorVO

public ViewObject getAccessorVO(ViewObject originVO)
Description copied from interface: AttributeDef
For an accessor attribute, this method creates a View Object that works for the View Link definition.

Specified by:
getAccessorVO in interface AttributeDef
Parameters:
originVO - the View Object that owns the accessor
Returns:
a ViewObject instance.

getLabel

public final java.lang.String getLabel(LocaleContext locale)
Description copied from interface: GenericHints
Retrieves the label to be used in any attribute prompts

Specified by:
getLabel in interface GenericHints

getOperators

public java.util.Map getOperators(LocaleContext locale)

getTooltip

public final java.lang.String getTooltip(LocaleContext locale)
Description copied from interface: GenericHints
Retrives the tooltip text to be used for this attribute

Specified by:
getTooltip in interface GenericHints

getLabelPlural

public final java.lang.String getLabelPlural(LocaleContext locale)
Description copied from interface: GenericHints
Retrives the LabelPlural text to be used for this attribute

Specified by:
getLabelPlural in interface GenericHints

getDisplayHint

public final java.lang.String getDisplayHint(LocaleContext locale)
Description copied from interface: AttributeHints
Retrieves the displya hint that dictates whether this attributr should be visible or not. The two possible values are: ATTRIBUTE_DISPLAY_HINT_DISPLAY = "Display"; ATTRIBUTE_DISPLAY_HINT_HIDE = "Hide";

Specified by:
getDisplayHint in interface AttributeHints

getControlType

public final int getControlType(LocaleContext locale)
Description copied from interface: AttributeHints
Returns the preferred control type for this attribute

Specified by:
getControlType in interface AttributeHints

getDisplayWidth

public final int getDisplayWidth(LocaleContext locale)
Description copied from interface: AttributeHints
Returns the display width for this attribute

Specified by:
getDisplayWidth in interface AttributeHints

getDisplayHeight

public final int getDisplayHeight(LocaleContext locale)
Description copied from interface: AttributeHints
Returns the display width for this attribute

Specified by:
getDisplayHeight in interface AttributeHints

isAutoSubmit

public final boolean isAutoSubmit(LocaleContext locale)
Description copied from interface: AttributeHints
Returns autoSubmit value for this attribute.

Specified by:
isAutoSubmit in interface AttributeHints

getHint

public final java.lang.String getHint(LocaleContext locale,
                                      java.lang.String sHintName)
Description copied from interface: AttributeHints
Return defaulted hint value based on the hint name

Specified by:
getHint in interface AttributeHints

getHintValue

public final java.lang.String getHintValue(LocaleContext locale,
                                           java.lang.String sHintName)
Description copied from interface: GenericHints
Return hint value based on the hint name

Specified by:
getHintValue in interface GenericHints

getFormat

public final java.lang.String getFormat(LocaleContext locale)
Description copied from interface: AttributeHints
returns the format string stored in the ui hints

Specified by:
getFormat in interface AttributeHints

getFormatterClassName

public final java.lang.String getFormatterClassName(LocaleContext locale)
Description copied from interface: AttributeHints
returns the formatter class stored in the ui hints

Specified by:
getFormatterClassName in interface AttributeHints

getFormatter

public final Formatter getFormatter(LocaleContext locale)
Description copied from interface: AttributeHints
returns the formatter object stored in the ui hints

Specified by:
getFormatter in interface AttributeHints

hasFormatInformation

public final boolean hasFormatInformation(LocaleContext locale)
Description copied from interface: AttributeHints
Return true if any format hints have been defined for this attribute. This function should eb used to bracket any calls to the formatting api.

Specified by:
hasFormatInformation in interface AttributeHints

getFormattedAttribute

public final java.lang.String getFormattedAttribute(AttributeList attrList,
                                                    LocaleContext locale)
Description copied from interface: AttributeHints
Returns the formatted value for the attribute. The AttributeList parameter will usually be an instance of the oracle.jbo.Row class.

Specified by:
getFormattedAttribute in interface AttributeHints

parseFormattedAttribute

public final java.lang.Object parseFormattedAttribute(java.lang.String sValue,
                                                      LocaleContext locale)
Description copied from interface: AttributeHints
Strips off the formatting from a string and constructs an instance of the attribute's domain using the 'clean' string as a parameter of the contructor.

Specified by:
parseFormattedAttribute in interface AttributeHints

displayInShortForm

public final boolean displayInShortForm(LocaleContext locale)
Description copied from interface: AttributeHints
Returns true if the attribute is to displayed in the short(summary) form.

Specified by:
displayInShortForm in interface AttributeHints

getLocaleName

public final java.lang.String getLocaleName(LocaleContext locale,
                                            java.lang.String sName)
Description copied from interface: AttributeHints
function for retrieving the locale name of a hint

Specified by:
getLocaleName in interface AttributeHints

getCompOpers

public java.lang.String[][] getCompOpers(LocaleContext locale)
Description copied from interface: AttributeHints
Returns a Map of operators for this attribute.

Specified by:
getCompOpers in interface AttributeHints

retrieveFromXML

protected void retrieveFromXML(DefElement xmlElement,
                               java.util.HashMap valueTab)
Overrides:
retrieveFromXML in class DCControlBindingDef

init

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

getLOVName

public java.lang.String getLOVName()
Description copied from interface: AttributeDef
Gets the name of the LOV (list of values) associated with this attribute definition.

Specified by:
getLOVName in interface AttributeDef
Returns:
the name of the LOV (may be null)

getListBindingDef

public ListBindingDef getListBindingDef()
Specified by:
getListBindingDef in interface AttributeDef

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.