oracle.jbo.server
Class AssociationDefBase
java.lang.Object
oracle.jbo.server.NamedObjectImpl
oracle.jbo.mom.PersistableDefObject
oracle.jbo.server.DefObject
oracle.jbo.server.MetaObject
oracle.jbo.server.AssociationDefBase
- All Implemented Interfaces:
- Formattable, ResourceBundleOwner, Association, VariableManagerOwner, VariableManagerOwnerBase
- Direct Known Subclasses:
- EntityAssociation, ViewLinkDefImpl
public abstract class AssociationDefBase
- extends MetaObject
- implements Association
Methods inherited from class oracle.jbo.server.DefObject |
addExtendedDefObject, ensureVariableManager, getBaseDefObject, getDefScope, getExtendedDefObjects, getResourceBundleDef, getResourcePrefix, getVariableManager, getVarMgrParents, hasExtendedDefObjects, hasVariables, isBaseDefFor, isObjectResolved, loadProperties, loadProperties, loadResourceBundleDef, loadUserData, resolvePropertyRaw, setBaseDefObject, setBaseDefObject, setDefForComponent, setDefScope, setObjectResolved, setResourceBundleDef, unsetDefForComponent |
Methods inherited from class oracle.jbo.server.NamedObjectImpl |
formatChildCollectionForOutput, formatChildCollectionForOutput, formatChildCollectionForOutput, formatForOutput, getAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getResourcesFromBundle, getUserData, parseAttrArrayElements, refreshProperty, requiresNamePrefixedResId, setFullName, setName, setParent, setPropertiesMap, setProperty |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSourceEnd
public AssociationEnd getSourceEnd()
- Specified by:
getSourceEnd
in interface 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()
resolveDefObject
public void resolveDefObject()
formatForOutput
public java.lang.String formatForOutput(OutputFormatter formatter)
- Specified by:
formatForOutput
in interface Formattable
- Overrides:
formatForOutput
in class NamedObjectImpl
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.