Skip navigation links

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

E10653-03


oracle.jbo
Class ViewCriteriaItemCompound

java.lang.Object
  extended by java.util.AbstractMap
      extended by oracle.jbo.common.JboAbstractMap
          extended by oracle.jbo.ViewCriteriaItem
              extended by oracle.jbo.ViewCriteriaItemCompound

All Implemented Interfaces:
java.io.Serializable, java.util.Map, AttributeDef, AttributeHints, ExprValueSupplier, Properties, ViewCriteriaComponent, ViewCriteriaItemHints
Direct Known Subclasses:
ViewCriteriaItemCompoundImpl

public class ViewCriteriaItemCompound
extends ViewCriteriaItem
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>

 

Nested classes/interfaces inherited from interface oracle.jbo.AttributeHints
AttributeHints.ControlType

 

Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>

 

Field Summary

 

Fields inherited from class oracle.jbo.ViewCriteriaItem
CARDINALITY, CONJUNCTIONSTR, CONTROL_TYPE, CRITERIA_ITEM, DATATYPE, DEFAULT_CONJ, GENERATE_ISNULL_CLAUSE_FOR_BINDVARS, ITEM_NUM, ITEMHOLDER, LABEL, LOV_NAME, mAllCompOpers, mCompOper, mCompOpers, mOperatorsAsMap, mProperties, mRow, mValues, NAME, NESTEDVC, OPERATOR, OPERATOR_DESCRIPTION, OPERATOR_LIST_ATTR_NAMES, OPERATORS, OPERATORS_MAP, QUOT, REMOVABLE, RENDERED_MODE, REQUIRED, UPPER_COLUMNS_VALUE, VALIDATE_BINDVARS, VALUE, VALUES, VARIABLE, VCITEM_COMPOUND, VCITEM_DATATYPE_DATE, VCITEM_DATATYPE_NUMBER, VCITEM_DATATYPE_STRING, VCITEM_OPTIONAL, VCITEM_OPTIONAL_STR, VCITEM_REQUIRED, VCITEM_REQUIRED_STR, VCITEM_SELECTIVELY_REQUIRED, VCITEM_SELECTIVELY_REQUIRED_STR, VCITEM_SIMPLE, XML_PLURAL_VALUES

 

Fields inherited from class oracle.jbo.common.JboAbstractMap
MAP_NULL_VALUE

 

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.ViewCriteriaItemHints
CRITERIA_ALLOW_MULTIPLE_VALUES, CRITERIA_ALLOW_MULTIPLE_VALUES_DEFAULT, CRITERIA_REMOVABLE, CRITERIA_REMOVABLE_DEFAULT, CRITERIA_RENDERED_MODE, CRITERIA_RENDERED_MODE_ADVANCED, CRITERIA_RENDERED_MODE_BASIC, CRITERIA_RENDERED_MODE_BOTH, CRITERIA_RENDERED_MODE_DEFAULT, CRITERIA_RENDERED_MODE_NEVER

 

Fields inherited from interface oracle.jbo.ViewCriteriaComponent
VC_CONJ_AND, VC_CONJ_NOT, VC_CONJ_OR, VC_CONJ_UNION, VC_UPPER_COL_DEFAULT, VC_UPPER_COL_FALSE, VC_UPPER_COL_TRUE

 

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_TOOLTIP, CTL_CHECK_BOX, CTL_CHOICE_LIST, CTL_COMBO_BOX, CTL_COMBO_BOX_LOV, CTL_DATE, CTL_DEFAULT, 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_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_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_TOOLTIP, HINT_NAME_UPDATEABLE, PNAME_Button, PNAME_ButtonGroup, PNAME_ComboBox, PNAME_ComboBoxLovEdit, PNAME_EnumList, PNAME_LovButton, PNAME_TextField

 

Constructor Summary
ViewCriteriaItemCompound()
           
ViewCriteriaItemCompound(AttributeDef def, ViewCriteriaRow row)
           
ViewCriteriaItemCompound(java.lang.String attrName, ViewCriteriaRow row)
           

 

Method Summary
 void addItem(int index, ViewCriteriaItem vci)
           
 void copyFrom(ViewCriteriaItem vci)
           
 ViewCriteriaItem createCarrier()
           
protected  ViewCriteria createItemHolder(StructureDef structDef)
           
 ViewCriteriaItem ensureItem(int index)
           
protected  void getAllBindVariables(java.util.HashMap map)
           
 int getConjunction()
          Return the conjunction of the first criteria item.
 ViewCriteriaItem getItem(int index)
           
 int getItemConjunction(int index)
           
 int getItemCount()
           
 ViewCriteria getItemHolder()
           
 int getItemType()
           
 ViewCriteria getNestedViewCriteria()
          Method for use by the bean datacontrol to retrieve the nested view criteria via the accessor "nestedViewCriteria"
 boolean hasData()
           
 boolean hasSameConjunction()
          Checks whether all items under this item has the same conjunction.
 void setConjunction(int conj)
           
 void setItemConjunction(int index, int conj)
           
 void setValue(java.lang.Object val)
           

 

Methods inherited from class oracle.jbo.ViewCriteriaItem
addCompOper, addItemValue, areDifferent, convertRequiredFlagToString, convertRequiredStringToFlag, createCriteriaItemValue, createCriteriaItemValue, createViewCriteriaForAccessor, displayInShortForm, get, getAccessorVO, getAttributeDef, getAttributeKind, getColumnName, getColumnNameForQuery, getCompOper, getCompOper, getCompOpers, getCompOpers, getCompOpers, getConjunctionString, getControlType, getDataType, getDisplayHeight, getDisplayHint, getDisplayWidth, getElemSQLType, getElemType, getExprVarVal, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getHint, getHintValue, getIndex, getJavaType, getLabel, getListBindingDef, getLocalAndResourceProperties, getLocalCompOpers, getLocale, getLocaleName, getLocalProperties, getLOVName, getName, getOperator, getOperatorsAsMap, getOrigOp, getPrecision, getProperties, getProperty, getProperty, getRemovable, getRenderedMode, getRequired, getRequiredString, getResourcesFromBundle, getRootCriteriaRelativeName, getScale, getSQLType, getStructureDef, getTooltip, getUIHelper, getUpdateableFlag, getUpperColumnsValue, getValue, getValue, getValueCardinality, getValueCount, getValueMaxCardinality, getValueMinCardinality, getValues, getViewCriteria, getViewCriteriaRow, hasBindVarValue, hasData, hasFormatInformation, initForInOperator, isAutoSubmit, isBindVarValue, isBindVarValue, isDiscrColumn, isGenerateIsNullClauseForBindVariables, isMandatory, isMultiValueType, isNull, isPrimaryKey, isQueriable, isRemovable, isSelected, isSqlFragment, isSqlFragment, isUpperColumns, isValidateBindVariables, makeCompound, operatorAllowsMultiValues, parseFormattedAttribute, put, refreshProperty, removeProperty, setAttributeDef, setCompOpers, setConjunctionString, setExprVarVal, setGenerateIsNullClauseForBindVariables, setIsBindVarValue, setIsBindVarValue, setIsSqlFragment, setIsSqlFragment, setName, setNameAndPut, setOperator, setOrigOp, setProperties, setProperty, setRemovable, setRequired, setRequiredString, setUpperColumns, setUpperColumnsValue, setValidateBindVariables, setValue, setValueMaxCardinality, setValueMinCardinality, setValues, suppressChangeNotification, toString, useBindVariableInWhereClauseIfNullValue

 

Methods inherited from class oracle.jbo.common.JboAbstractMap
entrySet, equals, hashCode, internalGet, internalPut, setThrowIfPropertyNotFoundOnGet

 

Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, values

 

Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ViewCriteriaItemCompound

public ViewCriteriaItemCompound()

ViewCriteriaItemCompound

public ViewCriteriaItemCompound(java.lang.String attrName,
                                ViewCriteriaRow row)

ViewCriteriaItemCompound

public ViewCriteriaItemCompound(AttributeDef def,
                                ViewCriteriaRow row)

Method Detail

getItemType

public int getItemType()

hasData

public boolean hasData()
Overrides:
hasData in class ViewCriteriaItem

createCarrier

public ViewCriteriaItem createCarrier()
Overrides:
createCarrier in class ViewCriteriaItem

createItemHolder

protected ViewCriteria createItemHolder(StructureDef structDef)

setValue

public void setValue(java.lang.Object val)
Overrides:
setValue in class ViewCriteriaItem

getItemHolder

public ViewCriteria getItemHolder()
Overrides:
getItemHolder in class ViewCriteriaItem

getItemCount

public int getItemCount()

getItem

public ViewCriteriaItem getItem(int index)

ensureItem

public ViewCriteriaItem ensureItem(int index)

addItem

public void addItem(int index,
                    ViewCriteriaItem vci)

setConjunction

public void setConjunction(int conj)
Specified by:
setConjunction in interface ViewCriteriaComponent
Overrides:
setConjunction in class ViewCriteriaItem

getItemConjunction

public int getItemConjunction(int index)

setItemConjunction

public void setItemConjunction(int index,
                               int conj)

hasSameConjunction

public boolean hasSameConjunction()
Description copied from class: ViewCriteriaItem
Checks whether all items under this item has the same conjunction.
Overrides:
hasSameConjunction in class ViewCriteriaItem
Returns:
true if all items under this item has the same conjunction. False otherwise.

getNestedViewCriteria

public ViewCriteria getNestedViewCriteria()
Description copied from class: ViewCriteriaItem
Method for use by the bean datacontrol to retrieve the nested view criteria via the accessor "nestedViewCriteria"
Overrides:
getNestedViewCriteria in class ViewCriteriaItem
Returns:
The nested view criteria if the value of this item is a ViewCriteria, or null otherwise.

getConjunction

public int getConjunction()
Return the conjunction of the first criteria item. To retrieve the conjuctions of other item inside this compound item, use getConjunction(int index) instead.
Specified by:
getConjunction in interface ViewCriteriaComponent
Overrides:
getConjunction in class ViewCriteriaItem
Returns:
The conjunction of the first criteria item.

copyFrom

public void copyFrom(ViewCriteriaItem vci)
Overrides:
copyFrom in class ViewCriteriaItem

getAllBindVariables

protected void getAllBindVariables(java.util.HashMap map)
Overrides:
getAllBindVariables in class ViewCriteriaItem

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.