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

E10653-02

oracle.jbo.server.ejb.facade
Class CmrAccessorDefImpl

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.AssociationDefImpl
                      extended by oracle.jbo.server.ejb.facade.CmrAccessorDefImpl
All Implemented Interfaces:
AttributeDef, AttributeHints, ResourceBundleOwner, ExprValueSupplier, DefPersistable, PersistentDefinition, Properties, ValidationManager, VariableManagerOwner, VariableManagerOwnerBase

public class CmrAccessorDefImpl
extends AssociationDefImpl


Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.jbo.AttributeHints
AttributeHints.ControlType
 
Field Summary
 
Fields inherited from class oracle.jbo.server.AssociationDefImpl
mAssociation
 
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
CmrAccessorDefImpl()
           
 
Method Summary
protected  EntityRowSetImpl createAssociationAccessorRS(ViewObjectImpl vo, Row masterRow, java.lang.Object[] values)
           
protected  ViewObjectImpl createAssociationAccessorVO(ApplicationModuleImpl am, java.lang.String voName, EntityAssociation eoAssoc)
           
protected  ViewRowSetImpl createViewLinkAccessorRS(ViewObjectImpl vo, Row masterRow, java.lang.Object[] values)
           
protected  ViewObjectImpl createViewLinkAccessorVO(ApplicationModuleImpl am, java.lang.String voName, ViewDefImpl vDef, ViewLinkDefImpl vlDef)
           
 VariableValueManager ensureVariableManager()
          Returns this object's Variable Value Manager.
protected  void finishedLoading()
           
 java.lang.String getAssociationClause(ViewLinkDefImpl vlDef, boolean isReversed)
          Return the association where clause.
protected  java.lang.String getAssociationVOName(ViewDefImpl viewDef)
           
 DefinitionObject getBaseDefObject()
           
 java.lang.String getDefXMLNameSpace()
           
 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 initFromXML(DefElement xmlElement, RowDef parent, int index)
           
protected  void loadProperties(DefElement xmlElement)
           
protected  void loadVariables(DefElement xmlElement)
           
protected  void resolveReferences()
           
 void setBaseDefObject(DefinitionObject baseDefObject, boolean addToBaseDef)
           
 
Methods inherited from class oracle.jbo.server.AssociationDefImpl
clone, getAssociation, getAssociationEnd, getAssociationVOName, getAttributeDefImpls, getDefXMLElementTag, getEntityAssociation, getOtherAssociationEnd, getOtherAttributeDefImpls, getParamValues, hasContainer, isPartitionUsingWhereClause, isReverseAccessor, resolveEntityAssociation, setAssociation, writeContents
 
Methods inherited from class oracle.jbo.server.AttributeDefImpl
addBackwardDependency, addCompOper, addForwardDependency, addValidator, beanToStore, convertToJava, convertToStorage, displayInShortForm, evaluateTransientExpression, getAccessorVO, getAllProperties, getAltKeyCount, getAttributeKind, getAttrLoad, getColumnName, getColumnNameForQuery, getCompOpers, getCompOpers, getControlType, getDef, getDefaultValue, getDefTypeId, getDisplayHeight, getDisplayHint, getDisplayWidth, getDomainName, getElemFactory, getElemSQLType, getElemType, getEntityDef, getExprVarVal, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getHint, getHints, getHintsFromResource, getHintValue, getHistoryKind, getIndex, getJavaType, getLabel, getListBindingDef, getLocaleName, getLOVFinder, getLOVName, getMessageBundleClass, getObjectType, getOIDAttrNames, getPermissionDef, getPrecision, getProperty, getRecalcExpression, getResourceBundleDef, getResourcePrefix, getResourcesFromBundle, getScale, getSQLBuilder, getSQLType, getSQLTypeIdToString, getSQLTypeStringToId, getTooltip, getTransientExpression, getTransientExprEval, getTypeFactory, getUIHelper, getUpdateableFlag, getValidator, getValidatorCount, getValidators, getXMLElementTag, hasFormatInformation, hasHintDefined, hasHintOverride, hasTransientExpression, isAutoSubmit, isCascadeUpdateParticipant, isDiscrColumn, isEffectiveDateSequence, isEffectiveDateSequenceFlag, isEffectiveEndDate, isEffectiveStartDate, isInWhereOrderGroup, isKey, isMandatory, isObjectTableOID, isObjectTableRef, isPrimaryKey, isQueriable, isRetrievedOnInsert, isRetrievedOnUpdate, isSelected, isSessionScope, loadCompOpersFromXML, loadDependencies, loadFromResultSet, loadFromStatement, loadPermission, lookupValidator, parseFormattedAttribute, printXMLDefinition, removeValidator, requiresNamePrefixedResId, resolvePropertyRaw, setAttrLoad, setBaseDefObject, setColumnName, setDefaultValue, setDefForComponent, setDiscrColumn, setDomainName, setEffectiveDateSequence, setEffectiveDateSequenceFlag, setEffectiveDateType, setElemType, setExprVarVal, setLOVFinder, setLOVName, setMandatory, setName, setObjectType, setParent, setPrecisionScale, setPrimaryKey, setQueriable, setRecalcExpression, setRetrievedOnInsert, setRetrievedOnUpdate, setSelected, setSQLType, setTransientExpression, setTransientExprEval, setUpdateableFlag, shouldEvaluateTransientExpression, storeToBean, unsetDefForComponent, writeChildren
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, getBaseDir, getBasePackage, getDefManager, getDefWriter, getEditObject, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, guaranteePath, isDirty, isEditable, isNew, loadXMLContents, objectRemoved, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, 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
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, refreshProperty, removeProperty, setFullName, setPropertiesMap, setPropertiesMap2, setProperty
 
Methods inherited from class java.lang.Object
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
getFullName, getName
 
Methods inherited from interface oracle.jbo.VariableManagerOwner
getName
 
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable
getFullName
 

Constructor Detail

CmrAccessorDefImpl

public CmrAccessorDefImpl()
Method Detail

createAssociationAccessorVO

protected ViewObjectImpl createAssociationAccessorVO(ApplicationModuleImpl am,
                                                     java.lang.String voName,
                                                     EntityAssociation eoAssoc)
Overrides:
createAssociationAccessorVO in class AssociationDefImpl

createAssociationAccessorRS

protected EntityRowSetImpl createAssociationAccessorRS(ViewObjectImpl vo,
                                                       Row masterRow,
                                                       java.lang.Object[] values)
Overrides:
createAssociationAccessorRS in class AssociationDefImpl

initFromXML

protected void initFromXML(DefElement xmlElement,
                           RowDef parent,
                           int index)
Overrides:
initFromXML in class AssociationDefImpl

getAssociationClause

public java.lang.String getAssociationClause(ViewLinkDefImpl vlDef,
                                             boolean isReversed)
Description copied from class: AssociationDefImpl
Return the association where clause.

Overrides:
getAssociationClause in class AssociationDefImpl

createViewLinkAccessorVO

protected ViewObjectImpl createViewLinkAccessorVO(ApplicationModuleImpl am,
                                                  java.lang.String voName,
                                                  ViewDefImpl vDef,
                                                  ViewLinkDefImpl vlDef)
Overrides:
createViewLinkAccessorVO in class AssociationDefImpl

createViewLinkAccessorRS

protected ViewRowSetImpl createViewLinkAccessorRS(ViewObjectImpl vo,
                                                  Row masterRow,
                                                  java.lang.Object[] values)
Overrides:
createViewLinkAccessorRS in class AssociationDefImpl

getAssociationVOName

protected java.lang.String getAssociationVOName(ViewDefImpl viewDef)
Overrides:
getAssociationVOName in class AssociationDefImpl

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 DefinitionObject

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.1.0)

E10653-02

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