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

E10653-04

oracle.adf.model.bean
Class DCVCSubstAttrDef

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.server.AttributeDefImpl
                  extended by oracle.jbo.server.ViewAttributeDefImpl
                      extended by oracle.adf.model.bean.DCVCSubstAttrDef
All Implemented Interfaces:
AttributeDef, AttributeHints, ResourceBundleOwner, ExprValueSupplier, DefPersistable, PersistentDefinition, Properties, ValidationManager, VariableManagerOwner, VariableManagerOwnerBase

public class DCVCSubstAttrDef
extends ViewAttributeDefImpl

This View Attribute Def is created so that it serves as a wrapper around the attributes created for exposing View Criteria definitions. This class can then delegate the attribute hints and other properties to the appropriate defintion objects created at design time.


Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.jbo.AttributeHints
AttributeHints.ControlType
 
Field Summary
 
Fields inherited from class oracle.jbo.server.ViewAttributeDefImpl
BASE_VIEW_ATTR, mAlias, mAssocEntityRefs, mAssocEntityRefsInited, mAttrDesc, mBindVar, mGetterName, mSetterName, mVO
 
Fields inherited from class oracle.jbo.server.AttributeDefImpl
ATTR_LOAD_BULK, ATTR_LOAD_EACH, ATTR_LOAD_SKIP, EFFECTIVE_DATE_TYPE_END, EFFECTIVE_DATE_TYPE_NONE, EFFECTIVE_DATE_TYPE_START, HISTORY_CREATE_DATE, HISTORY_CREATE_USER, HISTORY_MODIFY_DATE, HISTORY_MODIFY_USER, HISTORY_MODIFY_VERSION, HISTORY_NOT_DEFINED, mAttrLoad, mBackwardDep, mBCheckedForSIF, mBCheckSIFCtrlHints, mColumnName, mDataSecurity, mDef, mDefaultValue, mDiscrColumn, mDomainName, mEffectiveDateType, mElemFactory, mElemType, mForwardDep, mHistoryKind, mIndex, mIsEffectiveDateSequence, mIsEffectiveDateSequenceFlag, mJavaType, mKind, mMandatory, mNotNull, mObjectTableOID, mObjectTableRef, mObjectType, mOIDAttrNames, mPrecision, mPrimaryKey, mQueriable, mReadMethod, mResolveAccessors, mRetrievedOnInsert, mRetrievedOnUpdate, mScale, mSQLBuilder, mType, mTypeFactory, mTypeFactoryInitialized, mUnique, mUpdateable, mWriteMethod
 
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
 
Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX
 
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_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
 
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT
 
Constructor Summary
DCVCSubstAttrDef()
           
DCVCSubstAttrDef(AttributeDef existingDef)
           
DCVCSubstAttrDef(AttributeDef existingDef, Row vciValRow)
           
DCVCSubstAttrDef(AttributeDef existingDef, ViewCriteria vc, ViewCriteriaItem vci, Variable var)
           
 
Method Summary
 VariableValueManager ensureVariableManager()
          Returns this object's Variable Value Manager.
protected  void finishedLoading()
           
 DefinitionObject getBaseDefObject()
           
 java.lang.String getDefXMLNameSpace()
           
 java.util.ArrayList getForwardDependencyAttributes()
           
 java.lang.Class getJavaType()
          Returns the Java type of the attribute.
 java.lang.String getLOVFinder()
           
 java.lang.String getLOVName()
          Retrieve the LOV name on the current view attribute.
 AttributeHints getUIHelper()
          return the AttributeHints interface implemented by this class
 VariableValueManager getVariableManager()
          Returns this object's current Variable Value Manager.
protected  VariableValueManager[] getVarMgrParents()
           
 boolean hasVariables()
          Returns a flag indicating whether this object has Variables or not.
protected  void loadProperties(DefElement xmlElement)
           
protected  void loadVariables(DefElement xmlElement)
           
protected  java.lang.Object resolvePropertyRaw(java.lang.String property, LocaleContext locale)
           
protected  void resolveReferences()
           
 void setBaseDefObject(DefinitionObject baseDefObject, boolean addToBaseDef)
           
 void setExistingDef(AttributeDef attrDef)
           
 
Methods inherited from class oracle.jbo.server.ViewAttributeDefImpl
findViewLinkDefImpl, getAccessorVO, getAliasName, getAllProperties, getColumnNameForQuery, getCompOpers, getDefXMLElementTag, getEntityAttributeDef, getEntityDef, getEntityReference, getFullName, getIndex, getListBindingDef, getObjectType, getOtherViewDef, getPermissionDef, getReferenceAttribute, getViewDef, getViewLinkAccessorDef, hasHintDefined, hasHintOverride, hasHintOverride, isDirty, isDiscrColumn, isEntityDiscrColumn, isKey, isNew, isSDOHidden, setAliasName, setBaseDefObject, setEntityDiscrColumn, setParent, setSDOHidden, writeChildren, writeContents
 
Methods inherited from class oracle.jbo.server.AttributeDefImpl
addBackwardDependency, addCompOper, addForwardDependency, addValidator, beanToStore, convertHistoryColumnFlagToString, convertHistoryColumnStringToFlag, convertToJava, convertToStorage, displayInShortForm, evaluateTransientExpression, getAltKeyCount, getAttributeKind, getAttrLoad, getColumnName, getCompOpers, getControlType, getDef, getDefaultValue, getDefTypeId, getDisplayHeight, getDisplayHint, getDisplayWidth, getDomainName, getElemFactory, getElemSQLType, getElemType, getExprVarVal, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getHint, getHints, getHintsFromResource, getHintValue, getHistoryKind, getLabel, getLocaleName, getMessageBundleClass, getOIDAttrNames, getPrecision, getProperty, getRecalcExpression, getResourceBundleDef, getResourcePrefix, getResourcesFromBundle, getScale, getSQLBuilder, getSQLType, getSQLTypeIdToString, getSQLTypeStringToId, getTooltip, getTransientExpression, getTransientExprEval, getTypeFactory, getUpdateableFlag, getValidator, getValidatorCount, getValidators, getXMLElementTag, hasFormatInformation, hasTransientExpression, initFromXML, isAutoSubmit, isCascadeUpdateParticipant, isChangeIndicatorColumn, isEffectiveDateSequence, isEffectiveDateSequenceFlag, isEffectiveEndDate, isEffectiveStartDate, isHistoryColumn, isInWhereOrderGroup, isMandatory, isObjectTableOID, isObjectTableRef, isPrimaryKey, isQueriable, isRetrievedOnInsert, isRetrievedOnUpdate, isSelected, isSessionScope, isUnique, loadCompOpersFromXML, loadDependencies, loadFromResultSet, loadFromStatement, loadPermission, lookupValidator, parseFormattedAttribute, printXMLDefinition, removeValidator, requiresNamePrefixedResId, setAttrLoad, setColumnName, setDefaultValue, setDefForComponent, setDiscrColumn, setDomainName, setEffectiveDateSequence, setEffectiveDateSequenceFlag, setEffectiveDateType, setElemType, setExprVarVal, setHistoryKind, setLOVFinder, setLOVName, setMandatory, setName, setObjectType, setPrecisionScale, setPrimaryKey, setQueriable, setRecalcExpression, setRetrievedOnInsert, setRetrievedOnUpdate, setSelected, setSQLType, setTransientExpression, setUnique, setUpdateableFlag, shouldEvaluateTransientExpression, storeToBean, unsetDefForComponent
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditObject, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, guaranteePath, isEditable, loadDefImports, loadXMLContents, objectRemoved, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, removeDefImport, removeProperty, saveXMLContents, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, setProperty, setPropertyMap, updateChildrenList, verifyVersion, writeObject, writeVersion, writeXMLContents
 
Methods inherited from class oracle.jbo.mom.DefinitionObject
addExtendedDefObject, addPropertySetName, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, removeExtendedDefObject, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName
 
Methods inherited from class oracle.jbo.common.NamedObjectImpl
getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, refreshProperty, removeProperty, 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.AttributeDef
getName
 
Methods inherited from interface oracle.jbo.Properties
getProperties, getProperty, refreshProperty
 
Methods inherited from interface oracle.jbo.rules.ValidationManager
getName
 
Methods inherited from interface oracle.jbo.VariableManagerOwner
getName
 

Constructor Detail

DCVCSubstAttrDef

public DCVCSubstAttrDef()

DCVCSubstAttrDef

public DCVCSubstAttrDef(AttributeDef existingDef)

DCVCSubstAttrDef

public DCVCSubstAttrDef(AttributeDef existingDef,
                        ViewCriteria vc,
                        ViewCriteriaItem vci,
                        Variable var)

DCVCSubstAttrDef

public DCVCSubstAttrDef(AttributeDef existingDef,
                        Row vciValRow)
Method Detail

getUIHelper

public AttributeHints getUIHelper()
Description copied from class: AttributeDefImpl
return the AttributeHints interface implemented by this class

Specified by:
getUIHelper in interface AttributeDef
Overrides:
getUIHelper in class AttributeDefImpl
See Also:
AttributeHints

getLOVFinder

public java.lang.String getLOVFinder()
Overrides:
getLOVFinder in class AttributeDefImpl

getLOVName

public java.lang.String getLOVName()
Description copied from class: ViewAttributeDefImpl
Retrieve the LOV name on the current view attribute. The view attribute must be the primary attribute in the LOV or the correspond entity attribute must be the primary attribute in the LOV.

Specified by:
getLOVName in interface AttributeDef
Overrides:
getLOVName in class ViewAttributeDefImpl
Returns:
The LOV name

getJavaType

public java.lang.Class getJavaType()
Description copied from class: AttributeDefImpl
Returns the Java type of the attribute.

For example, if the attribute is of type String, this method returns java.lang.String; if it is of type Number, it returns oracle.jbo.domain.Number.

Subclasses should override this method because Entities without accessors should also be able to get their types from attribute descriptors and beans.

Specified by:
getJavaType in interface AttributeDef
Overrides:
getJavaType in class AttributeDefImpl
Returns:
the attribute's Java class, or Object for attributes which have no accessor methods available.

setExistingDef

public void setExistingDef(AttributeDef attrDef)

resolvePropertyRaw

protected java.lang.Object resolvePropertyRaw(java.lang.String property,
                                              LocaleContext locale)
Overrides:
resolvePropertyRaw in class ViewAttributeDefImpl

getForwardDependencyAttributes

public java.util.ArrayList getForwardDependencyAttributes()
Overrides:
getForwardDependencyAttributes in class ViewAttributeDefImpl

getBaseDefObject

public DefinitionObject getBaseDefObject()
Overrides:
getBaseDefObject in class DefinitionObject

setBaseDefObject

public void setBaseDefObject(DefinitionObject baseDefObject,
                             boolean addToBaseDef)
Overrides:
setBaseDefObject in class DefinitionObject

resolveReferences

protected void resolveReferences()
Overrides:
resolveReferences in class DefinitionObject

finishedLoading

protected void finishedLoading()
Overrides:
finishedLoading in class PersistableDefObject

loadProperties

protected void loadProperties(DefElement xmlElement)
Overrides:
loadProperties in class DefinitionObject
Parameters:
xmlElement - The XML element to load from.

loadVariables

protected void loadVariables(DefElement xmlElement)

getVariableManager

public VariableValueManager getVariableManager()
Description copied from interface: VariableManagerOwnerBase
Returns this object's current Variable Value Manager. It will return null if Variable Value Manager has been initialized.

When a framework object is first created, its Variable Value Manager may be null. This method does not initialize (create) the Variable Value Manager.

VariableManagerOwnerBase.ensureVariableManager() in contrast, ensures that the Variable Value Manager is initialized (created).

Specified by:
getVariableManager in interface VariableManagerOwnerBase
Returns:
this object's current Variable Value Manager. May return null if one was not yet initialized.

getVarMgrParents

protected VariableValueManager[] getVarMgrParents()

hasVariables

public boolean hasVariables()
Description copied from interface: VariableManagerOwnerBase
Returns a flag indicating whether this object has Variables or not.

Specified by:
hasVariables in interface VariableManagerOwnerBase
Returns:
the flag indicating whether this object has Variables.

ensureVariableManager

public VariableValueManager ensureVariableManager()
Description copied from interface: VariableManagerOwnerBase
Returns this object's Variable Value Manager. If this object current has no Variable Value Manager, it will initialize (create) one.

Specified by:
ensureVariableManager in interface VariableManagerOwnerBase
Returns:
this object's Variable Value Manager. Will create a Variable Value Manager if this object had no Variable Value Manager.

getDefXMLNameSpace

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

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

E10653-04

Copyright © 1997, 2010, Oracle. All rights reserved.