Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.jbo.server
Class AssociationDefBase

java.lang.Object
  extended by oracle.jbo.server.NamedObjectImpl
      extended by oracle.jbo.mom.PersistableDefObject
          extended by oracle.jbo.server.DefObject
              extended by oracle.jbo.server.MetaObject
                  extended by 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


Field Summary
 
Fields inherited from class oracle.jbo.server.MetaObject
CLASS_INSTANCE, mComponentClass
 
Fields inherited from class oracle.jbo.server.DefObject
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.server.NamedObjectImpl
mObjName, mParent, mProperties, mUserData, RES_ID_SUFFIX
 
Method Summary
 AssociationDefImpl findEndAccessorByName(java.lang.String endName)
           
 AssociationEnd findEndByName(java.lang.String endName)
           
 java.lang.String formatForOutput(OutputFormatter formatter)
           
 AssociationDefImpl[] getAccessors()
           
 java.lang.String getAssociationClause()
           
 AttributeDefImpl[] getAttributeDefImpls()
           
 AttributeDefImpl[] getAttributeDefImplsByEndName(java.lang.String endName)
          Returns the attribute definitions of one end of the association.
 DefObject[] getDefs()
           
 AssociationEnd getDestinationEnd()
           
 RowDef getDestinationOwner()
           
 AttributeDefImpl[] getOtherAttributeDefImpls()
           
 java.lang.String getReverseAssociationClause()
           
 AssociationEnd getSourceEnd()
           
 RowDef getSourceOwner()
           
 void resolveDefObject()
           
protected abstract  void resolveReferences()
           
 void setAssociationClause(java.lang.String assocClause)
           
 void setReverseAssociationClause(java.lang.String reverseAssocClause)
           
 
Methods inherited from class oracle.jbo.server.MetaObject
getBaseComponentClass, getMessageBundleClass, getMsgBundleDef, setComponentClass, setMessageBundleClass
 
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.mom.PersistableDefObject
getDefManager, loadXMLContents
 
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
 
Methods inherited from interface oracle.jbo.server.Association
getFullName, getName
 
Methods inherited from interface oracle.jbo.common.ResourceBundleOwner
getResourceBundleDef, getResourcePrefix
 
Methods inherited from interface oracle.jbo.VariableManagerOwner
getName
 

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.