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

E10653-05

oracle.jbo.common
Class ViewCriteriaItemCompoundImpl

java.lang.Object
  extended by java.util.AbstractMap
      extended by oracle.jbo.common.JboAbstractMap
          extended by oracle.jbo.ViewCriteriaItem
              extended by oracle.jbo.ViewCriteriaItemCompound
                  extended by oracle.jbo.common.ViewCriteriaItemCompoundImpl
All Implemented Interfaces:
java.io.Serializable, java.util.Map, AttributeDef, AttributeHints, ExprValueSupplier, GenericHints, DefPersistable, PersistentDefinition, Properties, ViewCriteriaComponent, ViewCriteriaItemHints

public class ViewCriteriaItemCompoundImpl
extends ViewCriteriaItemCompound
implements DefPersistable

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, ESCAPE_WILD_CARD_CHARS, 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.mom.xml.DefPersistable
XML_STATEMENT
 
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_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
 
Constructor Summary
ViewCriteriaItemCompoundImpl(AttributeDef def, ViewCriteriaRow row)
           
ViewCriteriaItemCompoundImpl(java.lang.String attrName, ViewCriteriaRow row)
           
 
Method Summary
protected  ViewCriteria createItemHolder(StructureDef structDef)
           
 DefinitionManager getDefManager()
           
 java.lang.String getDefXMLElementTag()
           
 java.lang.String getDefXMLNameSpace()
           
 java.lang.String getFullName()
          This method returns the Persistence reference of the object.
 DefPersistable getOrigObject()
           
 java.lang.String getXMLElementTag()
          Returns a piece of static info for the type of object this is invoked upon.
 boolean isDirty()
          This method returns if an Object is modified from last save/load
 boolean isNew()
          This method returns if this object is previously persisted.
 void loadXMLContents(DefElement xmlElement)
           
 void setDirty(boolean isDirty)
          This method marks the Object dirty
 void setNew(boolean b)
          This method marks the as previously persisted.
 void setOrigObject(DefPersistable oldObj)
           
 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
 void writeObject(DefWriter jos)
          Objects should write their persistence output in this method
 
Methods inherited from class oracle.jbo.ViewCriteriaItemCompound
addItem, copyFrom, createCarrier, ensureItem, getAllBindVariables, getConjunction, getItem, getItemConjunction, getItemCount, getItemHolder, getItemType, getNestedViewCriteria, hasData, hasSameConjunction, setConjunction, setItemConjunction, setValue
 
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, getLabelPlural, 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, getValueFromWhereParams, getValueMaxCardinality, getValueMinCardinality, getValues, getValuesInternal, getViewCriteria, getViewCriteriaRow, hasBindVarValue, hasData, hasFormatInformation, hasWhereClause, initForInOperator, isAutoSubmit, isBindVariableForTransAttrsOnly, isBindVarValue, isBindVarValue, isDiscrColumn, isEscapeWildCardChars, isGenerateIsNullClauseForBindVariables, isMandatory, isMultiValueType, isNull, isPrimaryKey, isQueriable, isRemovable, isSelected, isSqlFragment, isSqlFragment, isUpperColumns, isValidateBindVariables, itemHasOnlyNullValues, makeCompound, operatorAllowsMultiValues, parseFormattedAttribute, put, refreshProperty, removeProperty, setAttributeDef, setCompOpers, setConjunctionString, setEscapeWildCardChars, 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, 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

ViewCriteriaItemCompoundImpl

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

ViewCriteriaItemCompoundImpl

public ViewCriteriaItemCompoundImpl(AttributeDef def,
                                    ViewCriteriaRow row)
Method Detail

getDefManager

public DefinitionManager getDefManager()

isDirty

public boolean isDirty()
Description copied from interface: DefPersistable
This method returns if an Object is modified from last save/load

Specified by:
isDirty in interface DefPersistable
Returns:
Returns true if the Object is dirty. Returns false otherwise.

setDirty

public void setDirty(boolean isDirty)
Description copied from interface: DefPersistable
This method marks the Object dirty

Specified by:
setDirty in interface DefPersistable
Parameters:
isDirty - If true the Object is marked Dirty.

isNew

public boolean isNew()
Description copied from interface: DefPersistable
This method returns if this object is previously persisted.

Specified by:
isNew in interface DefPersistable
Returns:
true if the Object is previously persisted. Returns false otherwise.

setNew

public void setNew(boolean b)
Description copied from interface: DefPersistable
This method marks the as previously persisted. By default all objects are new objects. When the object is persisted first time, that object is marked as 'not new' object

Specified by:
setNew in interface DefPersistable
Parameters:
b - If true the Object is marked as new object.

getOrigObject

public DefPersistable getOrigObject()
Specified by:
getOrigObject in interface DefPersistable

setOrigObject

public void setOrigObject(DefPersistable oldObj)
Specified by:
setOrigObject in interface DefPersistable

getFullName

public java.lang.String getFullName()
Description copied from interface: DefPersistable
This method returns the Persistence reference of the object. The Persistence Reference is uniquely identifiable fully qualified name of the object.

Specified by:
getFullName in interface DefPersistable
Returns:
the Persistence Reference of the object

createItemHolder

protected ViewCriteria createItemHolder(StructureDef structDef)
Overrides:
createItemHolder in class ViewCriteriaItemCompound

writeObject

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

Specified by:
writeObject in interface PersistentDefinition
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
Parameters:
jos - the Output storage for persistence

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
Parameters:
jos - the Output storage for persistence

loadXMLContents

public void loadXMLContents(DefElement xmlElement)

getXMLElementTag

public java.lang.String getXMLElementTag()
Description copied from interface: PersistentDefinition
Returns a piece of static info for the type of object this is invoked upon. Examples are PreparedStatements for insert, update, delete, and String containing a base the select statement for retrieving instances of this type through the SQLInputStream

Specified by:
getXMLElementTag in interface PersistentDefinition
Returns:
returns the Statement required to store in Persitent Storage. Incase of XML, it just returns the String. In the case of SQL a JDBC PreparedStatement is returned.

getDefXMLElementTag

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

getDefXMLNameSpace

public java.lang.String getDefXMLNameSpace()
Specified by:
getDefXMLNameSpace in interface PersistentDefinition

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.