Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


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, VariableManagerOwner
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
 VariableValueManager ensureVariableManager()
          Returns this object's Variable Value Manager.
 AssociationDefImpl findEndAccessorByName(java.lang.String endName)
           
 AssociationEnd findEndByName(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.
 DefinitionObject getBaseDefObject()
           
 java.lang.String getClientProxyClassName()
           
 java.lang.String getComponentInterfaceName()
           
 oracle.jbo.server.DefObject[] getDefs()
           
 AssociationEnd getDestinationEnd()
           
 RowDef getDestinationOwner()
           
protected  java.lang.String getEffectiveClientProxyClassName()
           
protected  java.lang.String getEffectiveComponentInterfaceName()
           
 java.lang.Class getMessageBundleClass()
          Internal: Applications should not use this method.
 java.lang.String getName()
          Returns the name of this Variable Manager Owner.
 AttributeDefImpl[] getOtherAttributeDefImpls()
           
 oracle.jbo.server.PackageDefImpl getPackageDef()
           
 java.lang.String getPackageName()
           
 AssociationEnd getSourceEnd()
           
 RowDef getSourceOwner()
           
 VariableValueManager getVariableManager()
          Returns this object's current Variable Value Manager.
protected  VariableValueManager[] getVarMgrParents()
           
 boolean hasVariables()
          Returns a flag indicating whether this object has Variables or not.
protected  void loadProperties(DefElement xmlElement)
           
protected  void loadVariables(DefElement xmlElement)
           
protected  void resolveReferences()
           
 void setBaseDefObject(DefinitionObject baseDefObject)
           
protected  void setClientProxyClassName(java.lang.String name)
           
protected  void setComponentInterfaceName(java.lang.String interfaceName)
           
 void setMessageBundleClass(java.lang.Class collClass)
          Internal: Applications should not use this method.
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()

findEndByName

public AssociationEnd findEndByName(java.lang.String endName)
Specified by:
findEndByName in interface oracle.jbo.server.Association

getSourceOwner

public RowDef getSourceOwner()

getDestinationOwner

public RowDef getDestinationOwner()

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.
Overrides:
setName in class DefinitionObject
Parameters:
name - the name to be given to this object.

getBaseDefObject

public DefinitionObject getBaseDefObject()
Overrides:
getBaseDefObject in class DefinitionObject

setBaseDefObject

public void setBaseDefObject(DefinitionObject baseDefObject)
Overrides:
setBaseDefObject in class DefinitionObject

resolveReferences

protected void resolveReferences()
Overrides:
resolveReferences in class DefinitionObject

finishedLoading

protected void finishedLoading()
Overrides:
finishedLoading in class DefinitionObject

setParent

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

loadProperties

protected void loadProperties(DefElement xmlElement)
Overrides:
loadProperties in class DefinitionObject
Parameters:
xmlElement - The XML element to load from.

loadVariables

protected void loadVariables(DefElement 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()

getVariableManager

public VariableValueManager getVariableManager()
Description copied from interface: VariableManagerOwner
Returns this object's current Variable Value Manager. It will return null if Variable Value Manager has been initialized.

When a framework object is first created, its Variable Value Manager may be null. This method does not initialize (create) the Variable Value Manager.

VariableManagerOwner.ensureVariableManager() in contrast, ensures that the Variable Value Manager is initialized (created).

Specified by:
getVariableManager in interface VariableManagerOwner
Returns:
this object's current Variable Value Manager. May return null if one was not yet initialized.

getVarMgrParents

protected VariableValueManager[] getVarMgrParents()

hasVariables

public boolean hasVariables()
Description copied from interface: VariableManagerOwner
Returns a flag indicating whether this object has Variables or not.
Specified by:
hasVariables in interface VariableManagerOwner
Returns:
the flag indicating whether this object has Variables.

ensureVariableManager

public VariableValueManager ensureVariableManager()
Description copied from interface: VariableManagerOwner
Returns this object's Variable Value Manager. If this object current has no Variable Value Manager, it will initialize (create) one.
Specified by:
ensureVariableManager in interface VariableManagerOwner
Returns:
this object's Variable Value Manager. Will create a Variable Value Manager if this object had no Variable Value Manager.

setMessageBundleClass

public void setMessageBundleClass(java.lang.Class collClass)
Internal: Applications should not use this method.

Sets the implementation class for this Object's Message Bundle class.

Parameters:
collClass - the message bundle implementation class.

getMessageBundleClass

public java.lang.Class getMessageBundleClass()
Internal: Applications should not use this method.

Returns the class of the reference object.

Specified by:
getMessageBundleClass in interface VariableManagerOwner
Returns:
the class of the reference object.

Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


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