Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


oracle.jbo.server
Class AssociationDefBase

java.lang.Object
  extended byoracle.jbo.common.NamedObjectImpl
      extended byoracle.jbo.mom.DefinitionObject
          extended byoracle.jbo.server.DefObject
              extended byoracle.jbo.server.AssociationDefBase

All Implemented Interfaces:
oracle.jbo.server.Association
Direct Known Subclasses:
EntityAssociation, ViewLinkDefImpl

public abstract class AssociationDefBase
extends oracle.jbo.server.DefObject
implements oracle.jbo.server.Association

Field Summary
protected java.lang.Class mComponentClass

Fields inherited from class oracle.jbo.mom.DefinitionObject
mBaseDefObject, mExtendedDefObjects, mObjectResolved

Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties

Method Summary
AssociationDefImpl findEndAccessorByName(java.lang.String endName)
protected void finishedLoading()
AssociationDefImpl[] getAccessors()
AttributeDefImpl[] getAttributeDefImpls()
AttributeDefImpl[] getAttributeDefImplsByEndName(java.lang.String endName)
Returns the attribute definitions of one end of the association.
oracle.jbo.mom.DefinitionObject getBaseDefObject()
java.lang.String getClientProxyClassName()
java.lang.String getComponentInterfaceName()
oracle.jbo.server.DefObject[] getDefs()
AssociationEnd getDestinationEnd()
protected java.lang.String getEffectiveClientProxyClassName()
protected java.lang.String getEffectiveComponentInterfaceName()
java.lang.String getName()
Get the name of this object.
AttributeDefImpl[] getOtherAttributeDefImpls()
oracle.jbo.server.PackageDefImpl getPackageDef()
java.lang.String getPackageName()
AssociationEnd getSourceEnd()
protected void loadProperties(oracle.jbo.mom.xml.DefElementImpl xmlElement)
protected void resolveReferences()
void setBaseDefObject(oracle.jbo.mom.DefinitionObject baseDefObject)
protected void setClientProxyClassName(java.lang.String name)
protected void setComponentInterfaceName(java.lang.String interfaceName)
protected void setName(java.lang.String name)
Name this object.
protected void setParent(NamedObjectImpl parent)
Sets this object's parent.

Methods inherited from class oracle.jbo.mom.DefinitionObject
addExtendedDefObject, getContainerDef, getContainerName, getExtendedDefObjects, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, setObjectResolved

Methods inherited from class oracle.jbo.common.NamedObjectImpl
getFullName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, refreshProperty, setFullName, setPropertiesMap, setProperty

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

mComponentClass

protected java.lang.Class mComponentClass

Method Detail

getSourceEnd

public AssociationEnd getSourceEnd()

getDestinationEnd

public AssociationEnd getDestinationEnd()

getDefs

public oracle.jbo.server.DefObject[] getDefs()
Specified by:
getDefs in interface oracle.jbo.server.Association
Returns:
The Defs on both ends of this association.

getAttributeDefImpls

public AttributeDefImpl[] getAttributeDefImpls()
Specified by:
getAttributeDefImpls in interface oracle.jbo.server.Association
Returns:
The AttributeDefImpls on one end of this association.

getOtherAttributeDefImpls

public AttributeDefImpl[] getOtherAttributeDefImpls()
Specified by:
getOtherAttributeDefImpls in interface oracle.jbo.server.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 oracle.jbo.server.Association
Parameters:
endName - the name of one of the association's Entity Objects.
Returns:
an array of attribute definitions.

getName

public java.lang.String getName()

getPackageDef

public oracle.jbo.server.PackageDefImpl getPackageDef()

getPackageName

public java.lang.String getPackageName()

setName

protected void setName(java.lang.String name)
Name this object.
Parameters:
name - the name to be given to this object.

getBaseDefObject

public oracle.jbo.mom.DefinitionObject getBaseDefObject()

setBaseDefObject

public void setBaseDefObject(oracle.jbo.mom.DefinitionObject baseDefObject)

resolveReferences

protected void resolveReferences()

finishedLoading

protected void finishedLoading()

setParent

protected void setParent(NamedObjectImpl parent)
Sets this object's parent.
Parameters:
parent - the named object that is to be the parent of this object.

loadProperties

protected void loadProperties(oracle.jbo.mom.xml.DefElementImpl xmlElement)

setComponentInterfaceName

protected void setComponentInterfaceName(java.lang.String interfaceName)

getComponentInterfaceName

public java.lang.String getComponentInterfaceName()

getClientProxyClassName

public java.lang.String getClientProxyClassName()

setClientProxyClassName

protected void setClientProxyClassName(java.lang.String name)

getEffectiveClientProxyClassName

protected java.lang.String getEffectiveClientProxyClassName()

getEffectiveComponentInterfaceName

protected java.lang.String getEffectiveComponentInterfaceName()

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


Copyright © 1997, 2005, Oracle. All rights reserved.