Skip navigation links
oracle.jbo.server
Class AssociationDefBase
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.mom.PersistableDefObject
oracle.jbo.server.DefObject
oracle.jbo.server.MetaObject
oracle.jbo.server.AssociationDefBase
- All Implemented Interfaces:
- ResourceBundleOwner, DiffMergeable, DefPersistable, PersistentDefinition, Association, VariableManagerOwner, VariableManagerOwnerBase
- Direct Known Subclasses:
- EntityAssociation, ViewLinkDefImpl
-
public abstract class AssociationDefBase
- extends MetaObject
- implements Association
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 |
Methods inherited from class oracle.jbo.server.MetaObject |
deregisterSessionObject, getEditVersionsAsString, getInheritPersonalizationValue, getMajorVersion, getMessageBundleClass, getMinorVersion, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getPersDefNoUpdateCheck, getResourceBundleDef, getResourcePrefix, isDynamic, isInheritPersonalization, loadDefVersions, loadResourceBundle, registerDefObject, registerSessionDefObject, setInheritPersonalization, setInheritPersonalizationStrValue, setMessageBundleClass, setResourceBundleDef |
Methods inherited from class oracle.jbo.server.DefObject |
ensureVariableManager, finishedLoading, getAdfmConfigStartupProperty, getAllProperties, getBaseDefObject, getBooleanAdfmConfigProperty, getDefTypeId, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, isDeprecated, loadProperties, loadVariables, resolvePropertyRaw, setBaseDefObject, setBaseDefObject, setDefForComponent, setName, setParent, unsetDefForComponent |
Methods inherited from class oracle.jbo.mom.PersistableDefObject |
addDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, checkEditable, checkStructWithOld, close, createFromXML, diffObjects, ensureDifferDetails, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSessionSyncLock, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, loadXMLContents, lockDefinitionContext, mergeChanges, mergePropertyMap, objectRemoved, reapplyChanges, registerClass, registerSiteDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, 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, getAllExtendedDefObjects, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, 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, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setPropertiesMap, setPropertiesMap2, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setDirty
public void setDirty(boolean b)
- Description copied from interface:
DefPersistable
- This method marks the Object dirty
-
- Specified by:
setDirty
in interface DefPersistable
- Overrides:
setDirty
in class PersistableDefObject
-
- Parameters:
b
- If true the Object is marked Dirty.
getSourceEnd
public AssociationEnd getSourceEnd()
-
- Specified by:
getSourceEnd
in interface Association
-
- Returns:
- The AssociationDefImpls on both ends of this association.
getDestinationEnd
public AssociationEnd getDestinationEnd()
-
- Specified by:
getDestinationEnd
in interface Association
findEndByName
public AssociationEnd findEndByName(java.lang.String endName)
-
- Specified by:
findEndByName
in interface Association
getSourceOwner
public RowDef getSourceOwner()
-
- Specified by:
getSourceOwner
in interface Association
getDestinationOwner
public RowDef getDestinationOwner()
-
- Specified by:
getDestinationOwner
in interface Association
getDefs
public DefObject[] getDefs()
-
- Specified by:
getDefs
in interface Association
-
- Returns:
- The Defs on both ends of this association.
getAttributeDefImpls
public AttributeDefImpl[] getAttributeDefImpls()
-
- Specified by:
getAttributeDefImpls
in interface Association
-
- Returns:
- The AttributeDefImpls on one end of this association.
getOtherAttributeDefImpls
public AttributeDefImpl[] getOtherAttributeDefImpls()
-
- Specified by:
getOtherAttributeDefImpls
in interface Association
-
- Returns:
- The AttributeDefImpls on other end of this association.
getAccessors
public AssociationDefImpl[] getAccessors()
findEndAccessorByName
public AssociationDefImpl findEndAccessorByName(java.lang.String endName)
getAttributeDefImplsByEndName
public AttributeDefImpl[] getAttributeDefImplsByEndName(java.lang.String endName)
- Returns the attribute definitions of one end of the association.
-
- Specified by:
getAttributeDefImplsByEndName
in interface Association
-
- Parameters:
endName
- the name of one of the association's Entity Objects.
- Returns:
- an array of attribute definitions.
getAssociationClause
public java.lang.String getAssociationClause()
-
- Specified by:
getAssociationClause
in interface Association
setAssociationClause
public void setAssociationClause(java.lang.String assocClause)
getReverseAssociationClause
public java.lang.String getReverseAssociationClause()
-
- Specified by:
getReverseAssociationClause
in interface Association
setReverseAssociationClause
public void setReverseAssociationClause(java.lang.String reverseAssocClause)
resolveReferences
protected abstract void resolveReferences()
-
- Overrides:
resolveReferences
in class DefObject
getEndDefXMLElementTag
public java.lang.String getEndDefXMLElementTag()
resolveDefObject
public void resolveDefObject()
-
- Specified by:
resolveDefObject
in class MetaObject
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
- Overrides:
writeChildren
in class MetaObject
-
- 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
- Overrides:
writeContents
in class MetaObject
-
- Parameters:
jos
- the Output storage for persistence
diffContents
public DifferDetails diffContents(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails)
-
- Specified by:
diffContents
in interface DiffMergeable
- Overrides:
diffContents
in class PersistableDefObject
diffChildren
public DifferDetails diffChildren(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails)
-
- Specified by:
diffChildren
in interface DiffMergeable
- Overrides:
diffChildren
in class DefObject
applyDiffContents
public void applyDiffContents(DifferDetails dif,
DiffResolver resolver)
-
- Specified by:
applyDiffContents
in interface DiffMergeable
- Overrides:
applyDiffContents
in class PersistableDefObject
applyDiffChildren
public void applyDiffChildren(DifferDetails dif,
DiffResolver resolver)
-
- Specified by:
applyDiffChildren
in interface DiffMergeable
- Overrides:
applyDiffChildren
in class DefObject
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.