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

E17503-02

oracle.jbo
Class ViewCriteriaItemCompound

java.lang.Object
  extended by oracle.jbo.common.JboAbstractMap
      extended by oracle.jbo.ViewCriteriaItem
          extended by oracle.jbo.ViewCriteriaItemCompound
All Implemented Interfaces:
AttributeDef, AttributeHints, ExprValueSupplier, Properties, ViewCriteriaComponent, ViewCriteriaItemHints
Direct Known Subclasses:
ViewCriteriaItemCompoundImpl

public class ViewCriteriaItemCompound
extends ViewCriteriaItem


Field Summary
static java.lang.Class CLASS_INSTANCE
           
 
Fields inherited from class oracle.jbo.ViewCriteriaItem
CARDINALITY, CONJUNCTIONSTR, CONTROL_TYPE, CRITERIA_ITEM, DATATYPE, DEFAULT_CONJ, 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, 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_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_UPPER_COL_DEFAULT, VC_UPPER_COL_FALSE, VC_UPPER_COL_TRUE
 
Fields inherited from interface oracle.jbo.AttributeHints
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_CATEGORY, 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_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(HashMap map)
           
 int getConjunction()
          Return the conjunction of the first 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, getAllBindVariables, 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, isBindVarValue, isBindVarValue, isDiscrColumn, isMandatory, isMultiValueType, isNull, isPrimaryKey, isQueriable, isRemovable, isSelected, isSqlFragment, isSqlFragment, isUpperColumns, makeCompound, operatorAllowsMultiValues, parseFormattedAttribute, put, refreshProperty, removeProperty, setAttributeDef, setCompOpers, setConjunctionString, setExprVarVal, setIsBindVarValue, setIsBindVarValue, setIsSqlFragment, setIsSqlFragment, setName, setNameAndPut, setOperator, setOrigOp, setProperties, setProperty, setRemovable, setRequired, setRequiredString, setUpperColumns, setUpperColumnsValue, setValue, setValueMaxCardinality, setValueMinCardinality, setValues, suppressChangeNotification, toString, useBindVariableInWhereClauseIfNullValue
 
Methods inherited from class oracle.jbo.common.JboAbstractMap
clear, containsKey, entrySet, equals, hashCode, internalGet, internalPut, setThrowIfPropertyNotFoundOnGet
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE
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 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 item of this compound VC item.

copyFrom

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

getAllBindVariables

protected void getAllBindVariables(HashMap map)

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

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.