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

E10653-05

oracle.jbo.common
Class ListBindingDef

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.mom.DefinitionObject
          extended by oracle.jbo.mom.PersistableDefObject
              extended by oracle.jbo.common.ListBindingDef
All Implemented Interfaces:
ResourceBundleOwner, DefPersistable, PersistentDefinition
Direct Known Subclasses:
ListBindingDefImpl

public class ListBindingDef
extends PersistableDefObject
implements ResourceBundleOwner


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType
 
Field Summary
static java.lang.String LIST_CRITERIA_DISPLAY_HINT
           
static java.lang.String LIST_CRITERIA_DISPLAY_HINT_EXECUTE
           
static java.lang.String LIST_CRITERIA_DISPLAY_HINT_HIDE
           
static java.lang.String LIST_CRITERIA_NAME
           
static java.lang.String PNAME_AttrExpressions
           
static java.lang.String PNAME_AttrNames
           
static java.lang.String PNAME_ComboAttrCount
           
static java.lang.String PNAME_ComboRowCount
           
static java.lang.String PNAME_DerivedAttrNames
           
static java.lang.String PNAME_LabelList
           
static java.lang.String PNAME_ListAttrNames
           
static java.lang.String PNAME_ListDelimiter
           
static java.lang.String PNAME_ListDisplayAttrNames
           
static java.lang.String PNAME_ListIterName
           
static java.lang.String PNAME_ListNullValueFlag
           
static java.lang.String PNAME_ListNullValueId
           
static java.lang.String PNAME_ListOperMode
           
static java.lang.String PNAME_ListRangeSize
           
static java.lang.String PNAME_ListRSIName
           
static java.lang.String PNAME_ListServerBindingName
           
static java.lang.String PNAME_ListVOName
           
static java.lang.String PNAME_MRUCount
           
static java.lang.String PNAME_MRUId
           
static java.lang.String PNAME_RowLevelBinds
           
static java.lang.String PNAME_StaticList
           
static java.lang.String PNAME_StaticListDT
           
static java.lang.String PNAME_ValueList
           
static java.lang.String STR_LIST_ADD_NULL_AT_END
           
static java.lang.String STR_LIST_ADD_NULL_AT_START
           
static java.lang.String STR_LIST_ADD_NULL_NOWHERE
           
 
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
ListBindingDef(DefinitionManager defMgr, int defScope)
           
ListBindingDef(ListBindingDef other)
           
 
Method Summary
static java.lang.String convertListNullValueFlag(int nullValueFlag)
          For internal use only
static int convertListNullValueFlag(java.lang.String str)
          For internal use only
static boolean convertToBoolean(java.lang.Object val)
           
static int convertToInt(java.lang.Object val)
           
static int[] convertToIntArray(java.lang.Object[] arr)
           
 void copyFrom(ListBindingDef def)
          Internal: Applications should not use this method.
 RowSetIterator filterList(RowSetIterator listRSI, java.util.Map valuesMap, Row targetRow, ViewCriteria criteria, boolean exact, boolean checkForCase)
           
 java.lang.String[] getAttrExpressions()
           
 java.lang.String[] getAttrNames()
           
 int getComboDisplayAttributeCount()
          Returns the count of attributes that should be displayed in a combo dropdown.
 int getComboDisplayRowCountHint()
          Returns the count of attributes that should be displayed in a combo dropdown.
 java.lang.String getDefXMLElementTag()
           
 java.lang.String getDelimiter()
           
 java.lang.String[] getDerivedAttrNames()
           
 java.lang.String getDisplayCriteriaName()
           
 java.lang.String[] getLabelList()
           
 java.lang.String[] getListAttrNames()
           
 java.lang.String[] getListDisplayAttrNames()
           
 int getListRangeSize()
           
 java.lang.String getListRSIName()
           
 java.lang.String getListVOName()
           
 int getMRUCount()
           
 int getNullValueFlag()
           
 java.lang.String getNullValueId()
           
 java.lang.String getNullValueText(java.util.Locale locale)
           
 java.lang.String getPreferredCriteriaName()
           
 ResourceBundleDef getResourceBundleDef()
           
 java.lang.String getResourcePrefix()
           
 boolean getRowLevelBinds()
           
 java.lang.Object[] getValueList()
           
 void init(java.util.HashMap initValues)
           
 boolean isAutoExecuteCriteria()
           
 boolean isCriteriaShown()
           
 boolean isMRUCountDefined()
          For internal use only.
 boolean isStaticList()
           
 void loadFromXML(DefElement xmlElement)
           
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 readXMLString(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
           
static void readXMLStringArray(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
           
 void setAttrExpressions(java.lang.String[] attrExprs)
           
 void setAttrNames(java.lang.String[] attrNames)
           
 void setAutoExecuteCriteria(boolean val)
           
 void setComboDisplayAttributeCount(int listRangeSize)
           
 void setComboDisplayRowCountHint(int listRangeSize)
           
 void setCriteriaShown(boolean val)
           
 void setDelimiter(java.lang.String de)
           
 void setDerivedAttrNames(java.lang.String[] derivedAttrNames)
           
 void setDisplayCriteriaName(java.lang.String name)
           
 void setLabelList(java.lang.String[] list)
           
 void setListAttrNames(java.lang.String[] listAttrNames)
           
 void setListDisplayAttrNames(java.lang.String[] str)
           
 void setListRangeSize(int listRangeSize)
           
 void setListRSIName(java.lang.String listRSIName)
           
 void setListVOName(java.lang.String voName)
           
 void setMRUCount(int count)
           
 void setNullValueFlag(int flag)
           
 void setNullValueId(java.lang.String s)
           
 void setNullValueText(java.lang.String text)
           
 void setParent(NamedObjectImpl parent)
          Sets this object's parent.
 void setPreferredCriteriaName(java.lang.String criteriaName)
           
 void setResourceBundleDef(ResourceBundleDef def)
           
 void setRowLevelBinds(boolean bRowLevelBinds)
           
 void setStaticList(boolean staticList)
           
 void setValueList(java.lang.Object[] valList)
           
 void writeChildren(DefWriter jos)
          Writes the Object's children to the Persistent storage
 void writeContents(DefWriter jos)
          Objects should write their persistence output in this method
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, findDefImport, finishedLoading, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLNameSpace, getEditObject, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getXMLElementTag, guaranteePath, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isNew, isPersonalizationEnabled, isPersonalizationEnabled, loadDefImports, loadXMLContents, mergePropertyMap, objectRemoved, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, removeDefImport, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, updateChildrenList, verifyVersion, 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, 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.mom.xml.DefPersistable
getFullName
 

Field Detail

LIST_CRITERIA_NAME

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

LIST_CRITERIA_DISPLAY_HINT

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

LIST_CRITERIA_DISPLAY_HINT_EXECUTE

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

LIST_CRITERIA_DISPLAY_HINT_HIDE

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

PNAME_StaticList

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

PNAME_StaticListDT

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

PNAME_AttrNames

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

PNAME_AttrExpressions

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

PNAME_DerivedAttrNames

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

PNAME_ListAttrNames

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

PNAME_ListDisplayAttrNames

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

PNAME_ListRangeSize

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

PNAME_ValueList

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

PNAME_LabelList

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

PNAME_ListVOName

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

PNAME_ListRSIName

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

PNAME_ListIterName

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

STR_LIST_ADD_NULL_NOWHERE

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

STR_LIST_ADD_NULL_AT_START

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

STR_LIST_ADD_NULL_AT_END

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

PNAME_ComboAttrCount

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

PNAME_ComboRowCount

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

PNAME_MRUCount

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

PNAME_MRUId

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

PNAME_ListOperMode

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

PNAME_ListDelimiter

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

PNAME_ListServerBindingName

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

PNAME_ListNullValueFlag

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

PNAME_ListNullValueId

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

PNAME_RowLevelBinds

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

ListBindingDef

public ListBindingDef(DefinitionManager defMgr,
                      int defScope)

ListBindingDef

public ListBindingDef(ListBindingDef other)
Method Detail

init

public void init(java.util.HashMap initValues)

setParent

public void setParent(NamedObjectImpl parent)
Description copied from class: DefinitionObject
Sets this object's parent.

Overrides:
setParent in class DefinitionObject
Parameters:
parent - the named object that is to be the parent of this object.

copyFrom

public void copyFrom(ListBindingDef def)
Internal: Applications should not use this method.


setDisplayCriteriaName

public void setDisplayCriteriaName(java.lang.String name)

setAutoExecuteCriteria

public void setAutoExecuteCriteria(boolean val)

setCriteriaShown

public void setCriteriaShown(boolean val)

getDisplayCriteriaName

public java.lang.String getDisplayCriteriaName()

isAutoExecuteCriteria

public boolean isAutoExecuteCriteria()

isCriteriaShown

public boolean isCriteriaShown()

isStaticList

public boolean isStaticList()

setStaticList

public void setStaticList(boolean staticList)

getListVOName

public java.lang.String getListVOName()

setListVOName

public void setListVOName(java.lang.String voName)

getDelimiter

public java.lang.String getDelimiter()

setDelimiter

public void setDelimiter(java.lang.String de)

getAttrExpressions

public java.lang.String[] getAttrExpressions()

setAttrExpressions

public void setAttrExpressions(java.lang.String[] attrExprs)

getAttrNames

public java.lang.String[] getAttrNames()

setAttrNames

public void setAttrNames(java.lang.String[] attrNames)

getDerivedAttrNames

public java.lang.String[] getDerivedAttrNames()

setDerivedAttrNames

public void setDerivedAttrNames(java.lang.String[] derivedAttrNames)

getListRSIName

public java.lang.String getListRSIName()

setListRSIName

public void setListRSIName(java.lang.String listRSIName)

getListAttrNames

public java.lang.String[] getListAttrNames()

setListAttrNames

public void setListAttrNames(java.lang.String[] listAttrNames)

getListDisplayAttrNames

public java.lang.String[] getListDisplayAttrNames()

setListDisplayAttrNames

public void setListDisplayAttrNames(java.lang.String[] str)

getListRangeSize

public int getListRangeSize()

setListRangeSize

public void setListRangeSize(int listRangeSize)

getComboDisplayAttributeCount

public int getComboDisplayAttributeCount()
Returns the count of attributes that should be displayed in a combo dropdown.


getComboDisplayRowCountHint

public int getComboDisplayRowCountHint()
Returns the count of attributes that should be displayed in a combo dropdown.


setComboDisplayAttributeCount

public void setComboDisplayAttributeCount(int listRangeSize)

setComboDisplayRowCountHint

public void setComboDisplayRowCountHint(int listRangeSize)

getValueList

public java.lang.Object[] getValueList()

setValueList

public void setValueList(java.lang.Object[] valList)

getLabelList

public java.lang.String[] getLabelList()

setLabelList

public void setLabelList(java.lang.String[] list)

getPreferredCriteriaName

public java.lang.String getPreferredCriteriaName()

setPreferredCriteriaName

public void setPreferredCriteriaName(java.lang.String criteriaName)

getMRUCount

public int getMRUCount()

setMRUCount

public void setMRUCount(int count)

isMRUCountDefined

public boolean isMRUCountDefined()
For internal use only.

Returns:
true if an MRU count was explicitly specified on this definition object.

getRowLevelBinds

public boolean getRowLevelBinds()

setRowLevelBinds

public void setRowLevelBinds(boolean bRowLevelBinds)

getNullValueFlag

public int getNullValueFlag()

setNullValueFlag

public void setNullValueFlag(int flag)

getNullValueId

public java.lang.String getNullValueId()

setNullValueId

public void setNullValueId(java.lang.String s)

setResourceBundleDef

public void setResourceBundleDef(ResourceBundleDef def)

getResourceBundleDef

public ResourceBundleDef getResourceBundleDef()
Specified by:
getResourceBundleDef in interface ResourceBundleOwner

getResourcePrefix

public java.lang.String getResourcePrefix()
Specified by:
getResourcePrefix in interface ResourceBundleOwner

getNullValueText

public java.lang.String getNullValueText(java.util.Locale locale)

setNullValueText

public void setNullValueText(java.lang.String text)

loadFromXML

public void loadFromXML(DefElement xmlElement)

writeChildren

public void writeChildren(DefWriter jos)
Description copied from interface: PersistentDefinition
Writes the Object's children to the Persistent storage

Specified by:
writeChildren in interface PersistentDefinition
Overrides:
writeChildren in class PersistableDefObject
Parameters:
jos - the Output storage for persistence

writeContents

public void writeContents(DefWriter jos)
Description copied from interface: PersistentDefinition
Objects should write their persistence output in this method

Specified by:
writeContents in interface PersistentDefinition
Overrides:
writeContents in class PersistableDefObject
Parameters:
jos - the Output storage for persistence

convertListNullValueFlag

public static int convertListNullValueFlag(java.lang.String str)
For internal use only


convertListNullValueFlag

public static java.lang.String convertListNullValueFlag(int nullValueFlag)
For internal use only


convertToInt

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

convertToBoolean

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

convertToIntArray

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

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)

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)

getDefXMLElementTag

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

filterList

public RowSetIterator filterList(RowSetIterator listRSI,
                                 java.util.Map valuesMap,
                                 Row targetRow,
                                 ViewCriteria criteria,
                                 boolean exact,
                                 boolean checkForCase)
For internal use only. Application developers should not use this
only for framework use.

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.