Business Components

oracle.jbo.server
Class AssociationDefBase

java.lang.Object
  |
  +--oracle.jbo.common.NamedObjectImpl
        |
        +--oracle.jbo.mom.DefinitionObject
              |
              +--oracle.jbo.server.DefObject
                    |
                    +--oracle.jbo.server.AssociationDefBase
All Implemented Interfaces:
oracle.jbo.server.Association
Direct Known Subclasses:
EntityAssociation

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


Field Summary
TypeField
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
TypeMethod
 oracle.jbo.server.AssociationDefImpl findEndAccessorByName(java.lang.String endName)
           
protected  void finishedLoading()
           
 oracle.jbo.server.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()
           
 oracle.jbo.server.DefObject[] getDefs()
           
 java.lang.String getName()
          Get the name of this object.
 AttributeDefImpl[] getOtherAttributeDefImpls()
           
 oracle.jbo.server.PackageDefImpl getPackageDef()
           
 java.lang.String getPackageName()
           
protected  void loadProperties(oracle.jbo.mom.xml.DefElementImpl xmlElement)
           
protected  void resolveReferences()
           
protected  void setBaseDefObject(oracle.jbo.mom.DefinitionObject baseDefObject)
           
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, 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

getDefs

public oracle.jbo.server.DefObject[] getDefs()
Specified by:
getDefs in interface oracle.jbo.server.Association
Following copied from 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
Following copied from 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
Following copied from interface: oracle.jbo.server.Association
Returns:
The AttributeDefImpls on other end of this association.

getAccessors

public oracle.jbo.server.AssociationDefImpl[] getAccessors()

findEndAccessorByName

public oracle.jbo.server.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 oracle.jbo.mom.DefinitionObject
Parameters:
name - the name to be given to this object.

getBaseDefObject

public oracle.jbo.mom.DefinitionObject getBaseDefObject()
Overrides:
getBaseDefObject in class oracle.jbo.mom.DefinitionObject

setBaseDefObject

protected void setBaseDefObject(oracle.jbo.mom.DefinitionObject baseDefObject)
Overrides:
setBaseDefObject in class oracle.jbo.mom.DefinitionObject

resolveReferences

protected void resolveReferences()
Overrides:
resolveReferences in class oracle.jbo.mom.DefinitionObject

finishedLoading

protected void finishedLoading()
Overrides:
finishedLoading in class oracle.jbo.mom.DefinitionObject

setParent

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

loadProperties

protected void loadProperties(oracle.jbo.mom.xml.DefElementImpl xmlElement)
Overrides:
loadProperties in class oracle.jbo.mom.DefinitionObject
Following copied from class: oracle.jbo.mom.DefinitionObject
Parameters:
xmlDoc - The XML doc to load from.
name - The name of the Property.

Business Components