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, DefPersistable, PersistentDefinition, Association, VariableManagerOwner, VariableManagerOwnerBase
- Direct Known Subclasses:
- EntityAssociation, ViewLinkDefImpl
public abstract class AssociationDefBase
- extends MetaObject
- implements Association
Methods inherited from class oracle.jbo.server.MetaObject |
deregisterSessionObject, getMessageBundleClass, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getResourceBundleDef, getResourcePrefix, isDynamic, loadResourceBundle, registerDefObject, registerSessionDefObject, setMessageBundleClass, setResourceBundleDef |
Methods inherited from class oracle.jbo.server.DefObject |
ensureVariableManager, finishedLoading, getAllProperties, getBaseDefObject, getDefTypeId, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, loadProperties, loadVariables, resolvePropertyRaw, setBaseDefObject, setBaseDefObject, setDefForComponent, setName, setParent, unsetDefForComponent |
Methods inherited from class oracle.jbo.mom.PersistableDefObject |
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getEditObject, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getXMLElementTag, guaranteePath, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isNew, isPersonalizationEnabled, isPersonalizationEnabled, loadDefImports, loadXMLContents, mergePropertyMap, objectRemoved, registerClass, remove, removeAndDelete, removeDefImport, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, 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, getProperty, getPropertyExpressionsMap, getResourcesFromBundle, getStringFromMessageBundle, isPropertyExpression, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setFullName, setPropertiesMap, setPropertiesMap2, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
Copyright © 1997, 2011, Oracle. All rights reserved.