Skip navigation links 
 
oracle.jbo.server
Class AssociationDefImpl
java.lang.Object
  
oracle.jbo.common.NamedObjectImpl
      
oracle.jbo.mom.DefinitionObject
          
oracle.jbo.mom.PersistableDefObject
              
oracle.jbo.server.DefObject
                  
oracle.jbo.server.AttributeDefImpl
                      
oracle.jbo.server.AssociationDefImpl
- All Implemented Interfaces:
 
- AttributeDef, AttributeHints, ResourceBundleOwner, ExprValueSupplier, ExprWrappable, GenericHints, DiffMergeable, DefPersistable, PersistentDefinition, Properties, ValidationManager, VariableManagerOwner, VariableManagerOwnerBase
 
- Direct Known Subclasses:
 
- CmrAccessorDefImpl
 
- 
public class AssociationDefImpl
 
- extends AttributeDefImpl
 
 
 
  
  
 
 
| 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, mBCheckedForSIF, mBCheckSIFCtrlHints, mColumnName, mDataSecurity, mDef, mDefaultValue, mDiscrColumn, mDomainName, mEffectiveDateType, mElemFactory, mElemType, 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_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, DEF_SCOPE_SITE, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP | 
 
 
| 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 | 
protected  AssociationDefImpl | 
clone() 
            | 
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) 
            | 
 Association | 
getAssociation() 
            | 
 java.lang.String | 
getAssociationClause(ViewLinkDefImpl vlDef, boolean isReversed) 
          Return the association where clause. | 
 AssociationEnd | 
getAssociationEnd() 
            | 
protected  java.lang.String | 
getAssociationVOName(ViewDefImpl viewDef) 
            | 
 java.lang.String | 
getAssociationVOName(ViewDefImpl viewDef, ViewLinkDefImpl vlDef) 
            | 
 AttributeDefImpl[] | 
getAttributeDefImpls() 
            | 
 java.lang.String | 
getDefXMLElementTag() 
            | 
 java.lang.String | 
getEndName() 
            | 
 EntityAssociation | 
getEntityAssociation() 
            | 
 AssociationEnd | 
getOtherAssociationEnd() 
            | 
 AttributeDefImpl[] | 
getOtherAttributeDefImpls() 
            | 
 java.lang.String | 
getOtherEndName() 
            | 
protected  java.lang.Object[] | 
getParamValues(Row row, java.lang.Object[] userValues) 
          Sets association condition to the query. | 
 boolean | 
hasContainer() 
            | 
protected  void | 
initFromXML(DefElement xmlElement, RowDef parent, int index) 
            | 
 boolean | 
isPartitionUsingWhereClause(ViewLinkDefImpl vlDef, boolean isReversed) 
            | 
 boolean | 
isRetainedAccessor() 
            | 
 boolean | 
isReverseAccessor() 
            | 
protected  boolean | 
isViewLinkAccessor() 
            | 
protected  void | 
resolveEntityAssociation() 
            | 
 void | 
setAssociation(Association association) 
            | 
 void | 
setAssociationForce(Association association) 
            | 
 void | 
writeContents(DefWriter jos) 
          Objects should write their persistence output in this method | 
 
| Methods inherited from class oracle.jbo.server.AttributeDefImpl | 
addBackwardDependency, addBackwardDependency, addCompOper, addExtendedDefObject, addForwardDependency, addValidator, adjustPropertyMapForWrite, applyDiffChildren, applyDiffContents, beanToStore, convertHistoryColumnFlagToString, convertHistoryColumnStringToFlag, convertToJava, convertToStorage, createAttributeDependencyImpl, diffChildren, diffContents, displayInShortForm, evaluateTransientExpression, getAccessorVO, getAllExtendedDefObjects, getAllProperties, getAltKeyCount, getAttributeKind, getAttrLoad, getBackwardDependencies, getBackwardDependenciesNames, getCategory, getColumnName, getColumnNameForQuery, getCompOpers, getCompOpers, getControlType, getDef, getDefaultValue, getDefinitionState, getDefTypeId, getDisplayHeight, getDisplayHint, getDisplayWidth, getDomainName, getElemFactory, getElemSQLType, getElemType, getEntityDef, getExprVarVal, getExtendedDefObjects, getExtendedDefObjectsInternal, getFieldOrder, getFileName, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getForwardDependencyAttributes, getHint, getHints, getHintsFromResource, getHintValue, getHistoryKind, getIndex, getJavaType, getLabel, getLabelPlural, getListBindingDef, getLocaleName, getLOVFinder, getLOVName, getMessageBundleClass, getObjectType, getOIDAttrNames, getPayloadHint, getPermissionDef, getPrecision, getProperty, getRecalcExpression, getRecalcExpressionPrivilege, getRecalcExpressionTrustMode, getResourceBundleDef, getResourcePrefix, getResourcesFromBundle, getScale, getSerializerClassName, getSQLBuilder, getSQLType, getSQLTypeIdToString, getSQLTypeStringToId, getTooltip, getTransientExpression, getTransientExpressionPrivilege, getTransientExpressionTrustMode, getTransientExprEval, getTypeFactory, getTypeValueMapPropertySet, getUIHelper, getUpdateableFlag, getValidator, getValidatorCount, getValidators, getValueSerializer, getXMLElementTag, hasExtendedDefObjects, hasFormatInformation, hasHintDefined, hasHintOverride, hasTransientExpression, isAutoSubmit, isCascadeUpdateParticipant, isChangeIndicatorColumn, isDiscrColumn, isEditable, isEffectiveDateRelated, isEffectiveDateSequence, isEffectiveDateSequenceFlag, isEffectiveEndDate, isEffectiveStartDate, isHistoryColumn, isInWhereOrderGroup, isKey, isMandatory, isObjectTableOID, isObjectTableRef, isPrimaryKey, isQueriable, isRetrievedOnInsert, isRetrievedOnUpdate, isSelected, isSelectedStatic, isSessionScope, isUnique, loadCompOpersFromXML, loadDependencies, loadFromResultSet, loadFromStatement, loadPermission, lookupValidator, parseFormattedAttribute, printXMLDefinition, removeBackwardDependency, removeCompOper, removeValidator, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setAttrLoad, setBackwardDependencies, setBaseDefObject, setColumnName, setDefaultValue, setDefForComponent, setDiscrColumn, setDomainName, setEffectiveDateSequence, setEffectiveDateSequenceFlag, setEffectiveDateType, setElemType, setExprVarVal, setHistoryKind, setJavaType, setLOVFinder, setLOVName, setMandatory, setName, setObjectType, setParent, setPermissionDef, setPrecisionScale, setPrimaryKey, setQueriable, setRecalcExpression, setRecalcExpressionPrivilege, setRecalcExpressionTrustMode, setRecalcExpressionTypeCheckedMode, setRetrievedOnInsert, setRetrievedOnUpdate, setSelected, setSelectedTransient, setSerializerClassName, setSQLType, setTransientExpression, setTransientExpressionPrivilege, setTransientExpressionTrustMode, setTransientExpressionTypeCheckedMode, setTypeValueMapPropertySet, setUnique, setUpdateableFlag, shouldEvaluateTransientExpression, storeToBean, unsetDefForComponent, writeChildren | 
 
| Methods inherited from class oracle.jbo.server.DefObject | 
ensureVariableManager, finishedLoading, getAdfmConfigStartupProperty, getBaseDefObject, getBooleanAdfmConfigProperty, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, isDeprecated, loadProperties, loadVariables, resolveReferences, setBaseDefObject | 
 
| Methods inherited from class oracle.jbo.mom.PersistableDefObject | 
addDefImport, allocatePropertyMap, allocatePropertyMapForEdits, checkEditable, checkStructWithOld, close, createFromXML, deregisterSessionObject, diffObjects, ensureDifferDetails, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getEditVersionsAsString, getFullDirName, getFullFileName, getMajorVersion, getMinorVersion, getOrigObject, getPropertyMap, getSessionSyncLock, getSubstitutedNames, getSyncLock, guaranteePath, isCustomizationEnabled, isCustomizationEnabled, isDirty, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, loadXMLContents, lockDefinitionContext, mergeChanges, mergePropertyMap, objectRemoved, reapplyChanges, registerClass, registerDefObject, registerSessionDefObject, registerSiteDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setEditableFlag, setEditableObject, setFullName, setFullNameInternal, setLoadBase, setMajorVersionChanged, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, setupDefWriterFromMO, staticUpdateChildrenList, unlockDefinitionContext, updateChildrenList, verifyVersion, verifyVersionNullCheck, writeObject, writeVersion, writeXMLContents | 
 
| Methods inherited from class oracle.jbo.mom.DefinitionObject | 
addPropertySetName, enableUpdateCheck, getContainerDef, getContainerName, getDefScope, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSubtypeOf, isSuppressUpdateCheck, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName, suppressUpdateCheck | 
 
| Methods inherited from class oracle.jbo.common.NamedObjectImpl | 
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getStringFromMessageBundle, refreshProperty, removeProperty, setPropertiesMap, setPropertiesMap2, setProperty | 
 
| Methods inherited from class java.lang.Object | 
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
 
 
 
 
 
 
mAssociation
protected Association mAssociation
AssociationDefImpl
public AssociationDefImpl()
clone
protected AssociationDefImpl clone()
- 
- Overrides:
 
clone in class java.lang.Object 
 
setAssociation
public void setAssociation(Association association)
- 
- Parameters:
 
association - The association it is part of. 
 
setAssociationForce
public void setAssociationForce(Association association)
getEntityAssociation
public EntityAssociation getEntityAssociation()
- 
- Returns:
 
- association The association it is part of.
 
 
isReverseAccessor
public boolean isReverseAccessor()
isRetainedAccessor
public boolean isRetainedAccessor()
createViewLinkAccessorVO
protected ViewObjectImpl createViewLinkAccessorVO(ApplicationModuleImpl am,
                                                  java.lang.String voName,
                                                  ViewDefImpl vDef,
                                                  ViewLinkDefImpl vlDef)
createViewLinkAccessorRS
protected ViewRowSetImpl createViewLinkAccessorRS(ViewObjectImpl vo,
                                                  Row masterRow,
                                                  java.lang.Object[] values)
createAssociationAccessorVO
protected ViewObjectImpl createAssociationAccessorVO(ApplicationModuleImpl am,
                                                     java.lang.String voName,
                                                     EntityAssociation eoAssoc)
createAssociationAccessorRS
protected EntityRowSetImpl createAssociationAccessorRS(ViewObjectImpl vo,
                                                       Row masterRow,
                                                       java.lang.Object[] values)
getAssociationVOName
protected java.lang.String getAssociationVOName(ViewDefImpl viewDef)
getAssociationVOName
public java.lang.String getAssociationVOName(ViewDefImpl viewDef,
                                             ViewLinkDefImpl vlDef)
getAssociation
public Association getAssociation()
getAssociationEnd
public AssociationEnd getAssociationEnd()
getOtherAssociationEnd
public AssociationEnd getOtherAssociationEnd()
getParamValues
protected java.lang.Object[] getParamValues(Row row,
                                            java.lang.Object[] userValues)
- Sets association condition to the query.
 
hasContainer
public boolean hasContainer()
isViewLinkAccessor
protected boolean isViewLinkAccessor()
getAttributeDefImpls
public AttributeDefImpl[] getAttributeDefImpls()
getOtherAttributeDefImpls
public AttributeDefImpl[] getOtherAttributeDefImpls()
initFromXML
protected void initFromXML(DefElement xmlElement,
                           RowDef parent,
                           int index)
- 
- Overrides:
 
initFromXML in class AttributeDefImpl 
 
getDefXMLElementTag
public java.lang.String getDefXMLElementTag()
- 
- Specified by:
 
getDefXMLElementTag in interface PersistentDefinition 
- Overrides:
 
getDefXMLElementTag in class AttributeDefImpl 
 
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 
- Overrides:
 
writeContents in class AttributeDefImpl 
 
- 
- Parameters:
 
jos - the Output storage for persistence 
 
resolveEntityAssociation
protected void resolveEntityAssociation()
isPartitionUsingWhereClause
public boolean isPartitionUsingWhereClause(ViewLinkDefImpl vlDef,
                                           boolean isReversed)
getAssociationClause
public java.lang.String getAssociationClause(ViewLinkDefImpl vlDef,
                                             boolean isReversed)
- Return the association where clause.
 
getEndName
public java.lang.String getEndName()
getOtherEndName
public java.lang.String getOtherEndName()
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.