Skip navigation links
oracle.jbo.common
Class ViewCriteriaItemImpl
java.lang.Object
java.util.AbstractMap
oracle.jbo.common.JboAbstractMap
oracle.jbo.ViewCriteriaItem
oracle.jbo.common.ViewCriteriaItemImpl
- All Implemented Interfaces:
- java.io.Serializable, java.util.Map, AttributeDef, AttributeHints, ExprValueSupplier, ExprWrappable, GenericHints, DiffMergeable, DefPersistable, PersistentDefinition, Properties, ViewCriteriaComponent, ViewCriteriaItemHints
-
public class ViewCriteriaItemImpl
- extends ViewCriteriaItem
- implements DefPersistable, DiffMergeable
- See Also:
- Serialized Form
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 java.util.Map |
java.util.Map.Entry<K,V> |
Fields inherited from class oracle.jbo.ViewCriteriaItem |
CARDINALITY, CATEGORY, 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, RESET_ORIG_OPER, 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 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_DEFINITION_STATE, 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_LOVNAME, ATTRIBUTE_PAYLOAD_HINT, ATTRIBUTE_PAYLOAD_HINT_HIDE, ATTRIBUTE_PAYLOAD_HINT_SHOW, ATTRIBUTE_REQUIRED_HINT, ATTRIBUTE_REQUIRED_HINT_OPTIONAL, ATTRIBUTE_REQUIRED_HINT_REQUIRED, ATTRIBUTE_REQUIRED_HINT_SELECTIVELY_REQUIRED, 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_LABEL_PLURAL, HINT_NAME_LOVNAME, HINT_NAME_MANDATORY, HINT_NAME_MAX_LENGTH, HINT_NAME_MAX_VALUE, HINT_NAME_MIN_LENGTH, HINT_NAME_MIN_VALUE, HINT_NAME_PAYLOAD_HINT, HINT_NAME_SECRET, HINT_NAME_TIMEZONEID, HINT_NAME_TOOLTIP, HINT_NAME_UPDATEABLE, HINT_NAME_WATERMARK, PNAME_Button, PNAME_ButtonGroup, PNAME_ComboBox, PNAME_ComboBoxLovEdit, PNAME_DYNAMIC_LOV_SUPPORT, PNAME_EnumList, PNAME_LovButton, PNAME_TextField |
Method Summary |
void |
applyDiffChildren(DifferDetails dif, DiffResolver resolver)
|
void |
applyDiffContents(DifferDetails dif, DiffResolver resolver)
|
protected ViewCriteriaItemValue |
createCriteriaItemValue(int index)
|
protected ViewCriteriaItemValue |
createCriteriaItemValue(java.lang.Object value, boolean isBindVar, boolean isSqlFragment, int index)
|
DifferDetails |
diffChildren(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
|
DifferDetails |
diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
|
DifferDetails |
diffObjects(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
|
DifferDetails |
ensureDifferDetails(DifferDetails difDetails)
|
DefinitionManager |
getDefManager()
|
java.lang.String |
getDefXMLElementTag()
|
java.lang.String |
getDefXMLNameSpace()
|
java.lang.String |
getFullName()
This method returns the Persistence reference of the object. |
java.util.Hashtable |
getLocalAndResourceProperties()
Used by the marshaller to get all the properties and resources (on the server side only) that are defined in this view criteria item. |
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. |
protected java.util.Map |
loadSchemaProperties(DefElement xmlElement)
Load the Schema based hints for this view criteria item. |
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.ViewCriteriaItem |
addCompOper, addCompOper, addItemValue, areDifferent, convertRequiredFlagToString, convertRequiredStringToFlag, copyFrom, createCarrier, createViewCriteriaForAccessor, displayInShortForm, get, getAccessorVO, getAllBindVariables, getAllBindVariablesInternal, getAttributeDef, getAttributeKind, getBindVarNameFromValue, getCategory, getColumnName, getColumnNameForQuery, getCompOper, getCompOper, getCompOpers, getCompOpers, getCompOpers, getConjunction, getConjunctionString, getControlType, getDataType, getDefaultOperator, getDefinitionState, getDisplayHeight, getDisplayHint, getDisplayWidth, getElemSQLType, getElemType, getExprVarVal, getFieldOrder, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getHint, getHintValue, getIndex, getItemHolder, getJavaType, getLabel, getLabelPlural, getListBindingDef, getLocalCompOpers, getLocale, getLocaleName, getLocalProperties, getLOVName, getName, getNestedViewCriteria, getOperator, getOperatorsAsMap, getOrigOp, getPayloadHint, getPrecision, getProperties, getProperty, getProperty, getRemovable, getRenderedMode, getRequired, getRequiredString, getResourcesFromBundle, getRootCriteriaRelativeName, getScale, getSQLType, getStructureDef, getTooltip, getUIHelper, getUpdateableFlag, getUpperColumnsValue, getValue, getValue, getValueCardinality, getValueCount, getValueFromVariableManager, getValueFromWhereParams, getValueMaxCardinality, getValueMinCardinality, getValues, getValuesInternal, getViewCriteria, getViewCriteriaRow, hasBindVarValue, hasData, hasData, hasData, hasDataToGenerateQuery, hasFormatInformation, hasSameConjunction, 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, removeCompOper, removeProperty, setAttributeDef, setCompOpers, setConjunction, setConjunctionString, setEscapeWildCardChars, setExprVarVal, setGenerateIsNullClauseForBindVariables, setIsBindVarValue, setIsBindVarValue, setIsSqlFragment, setIsSqlFragment, setName, setNameAndPut, setOperator, setOperator, setOrigOp, setProperties, setProperty, setRemovable, setRequired, setRequiredString, setUpperColumns, setUpperColumnsValue, setValidateBindVariables, setValue, setValue, setValueMaxCardinality, setValueMinCardinality, setValues, suppressChangeNotification, toString, useBindVariableInWhereClauseIfNullValue, useBindVariableInWhereClauseIfNullValue |
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 |
ViewCriteriaItemImpl
public ViewCriteriaItemImpl(java.lang.String attrName,
ViewCriteriaRow row)
ViewCriteriaItemImpl
public ViewCriteriaItemImpl(AttributeDef def,
ViewCriteriaRow row)
getDefManager
public DefinitionManager getDefManager()
createCriteriaItemValue
protected ViewCriteriaItemValue createCriteriaItemValue(int index)
-
- Overrides:
createCriteriaItemValue
in class ViewCriteriaItem
createCriteriaItemValue
protected ViewCriteriaItemValue createCriteriaItemValue(java.lang.Object value,
boolean isBindVar,
boolean isSqlFragment,
int index)
-
- Overrides:
createCriteriaItemValue
in class ViewCriteriaItem
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 DiffMergeable
- Specified by:
getFullName
in interface DefPersistable
-
- Returns:
- the Persistence Reference of the object
getLocalAndResourceProperties
public java.util.Hashtable getLocalAndResourceProperties()
- Used by the marshaller to get all the properties and resources (on the server side only) that are defined in this view criteria item.
-
- Overrides:
getLocalAndResourceProperties
in class ViewCriteriaItem
-
- Returns:
- A table containing the properties
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
loadSchemaProperties
protected java.util.Map loadSchemaProperties(DefElement xmlElement)
- Load the Schema based hints for this view criteria item.
-
- Parameters:
xmlElement
- The "SchemaProperties" parent for the hints
- Returns:
- The name value pairs for the control hints defined on this vc item
ensureDifferDetails
public DifferDetails ensureDifferDetails(DifferDetails difDetails)
-
- Specified by:
ensureDifferDetails
in interface DiffMergeable
diffContents
public DifferDetails diffContents(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails)
-
- Specified by:
diffContents
in interface DiffMergeable
diffChildren
public DifferDetails diffChildren(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails)
-
- Specified by:
diffChildren
in interface DiffMergeable
diffObjects
public DifferDetails diffObjects(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails)
-
- Specified by:
diffObjects
in interface DiffMergeable
applyDiffContents
public void applyDiffContents(DifferDetails dif,
DiffResolver resolver)
-
- Specified by:
applyDiffContents
in interface DiffMergeable
applyDiffChildren
public void applyDiffChildren(DifferDetails dif,
DiffResolver resolver)
-
- Specified by:
applyDiffChildren
in interface DiffMergeable
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.