Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.jbo.server
Class AssociationReference

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.server.NamedObjectImpl
          extended by oracle.jbo.server.ComponentObjectImpl
              extended by oracle.jbo.server.AssociationReference
All Implemented Interfaces:
ComponentObject, ExprWrappable, GenericHints, PersistentDefinition, OperationContainer, Properties, VariableManagerOwner, VariableManagerOwnerBase

public class AssociationReference
extends ComponentObjectImpl
implements PersistentDefinition

 NAME
      AssociationReference.java -
 DESCRIPTION

      The AssociationReference is an object that references an
      EntityAssociation or a ViewLinkDefImpl.

 NOTES


 VERSION
 MODIFIED   (MM/DD/YY)
 


Field Summary
 
Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIX
 
Fields inherited from interface oracle.jbo.GenericHints
PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP
 
Method Summary
 AssociationDefImpl getAccessor()
           
 AssociationDefBase getAssociationDef()
           
 AssociationEnd getAssociationEnd()
           
 DefObject getDef()
          Gets the Def Object.
 java.lang.String getDefXMLElementTag()
           
 java.lang.String getDefXMLNameSpace()
           
 java.lang.String getEndName()
           
 AssociationDefImpl getOtherAccessor()
           
 AssociationEnd getOtherAssociationEnd()
           
 java.lang.String getOtherEndName()
           
 RowReference getOtherRowReference()
           
 RowReference getRowReference()
           
 java.lang.String getXMLElementTag()
          Returns a piece of static info for the type of object this is invoked upon.
 boolean isAssociationReversed()
           
 void loadXMLContents(DefElement xmlElement)
           
 void writeChildren(DefWriter jos)
          Writes the Object's children to the Persistent storage
 void writeContents(DefWriter jos)
          Objects should write their persistence output in this method
 void writeObject(DefWriter jos)
          Objects should write their persistence output in this method
 
Methods inherited from class oracle.jbo.server.ComponentObjectImpl
addListener, applyPersonalization, create, createRef, createVariableValueManager, ensureVariableManager, findOperationDefinitions, findPersDefObject, getAllProperties, getApplicationModule, getCompListeners, getCompListenersList, getDefFullName, getDefinitionManager, getDefName, getFullNameForPersDef, getHintValue, getLabel, getLabelPlural, getMessageBundleClass, getProxyClassName, getProxyClassName, getResourceBundleDef, getRootApplicationModule, getStringFromMessageBundle, getTooltip, getVariableManager, hasVariables, isDead, isPersonalized, isRegWithPiggyMan, remove, resolvePropertyRaw, setName, setParent, setProxyClassName
 
Methods inherited from class oracle.jbo.server.NamedObjectImpl
setParent, setPropertiesMap
 
Methods inherited from class oracle.jbo.common.NamedObjectImpl
allocatePropertyMap, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getPropertyMap, getResourcesFromBundle, isPropertyExpression, mergePropertyMap, refreshProperty, removeProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setFullName, setPropertiesMap2, setProperty, setProperty, setPropertyExpression, setPropertyMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.ComponentObject
getFullName, getName
 
Methods inherited from interface oracle.jbo.Properties
getProperties, getProperty, getProperty, refreshProperty
 
Methods inherited from interface oracle.jbo.VariableManagerOwner
getName
 

Method Detail

getDef

public DefObject getDef()
Description copied from class: ComponentObjectImpl
Gets the Def Object.

Returns:
DefObject for the component

getAssociationDef

public AssociationDefBase getAssociationDef()
Returns:
The Association this references.

getRowReference

public RowReference getRowReference()
Returns:
the row def reference.

getOtherRowReference

public RowReference getOtherRowReference()
Returns:
the row def of the other end.

getEndName

public java.lang.String getEndName()

getOtherEndName

public java.lang.String getOtherEndName()

getAccessor

public AssociationDefImpl getAccessor()

getOtherAccessor

public AssociationDefImpl getOtherAccessor()

getAssociationEnd

public AssociationEnd getAssociationEnd()

getOtherAssociationEnd

public AssociationEnd getOtherAssociationEnd()

isAssociationReversed

public boolean isAssociationReversed()

getXMLElementTag

public java.lang.String getXMLElementTag()
Description copied from interface: PersistentDefinition
Returns a piece of static info for the type of object this is invoked upon. Examples are PreparedStatements for insert, update, delete, and String containing a base the select statement for retrieving instances of this type through the SQLInputStream

Specified by:
getXMLElementTag in interface PersistentDefinition
Returns:
returns the Statement required to store in Persitent Storage. Incase of XML, it just returns the String. In the case of SQL a JDBC PreparedStatement is returned.

getDefXMLElementTag

public java.lang.String getDefXMLElementTag()
Specified by:
getDefXMLElementTag in interface PersistentDefinition

getDefXMLNameSpace

public java.lang.String getDefXMLNameSpace()
Specified by:
getDefXMLNameSpace in interface PersistentDefinition

writeObject

public void writeObject(DefWriter jos)
Description copied from interface: PersistentDefinition
Objects should write their persistence output in this method

Specified by:
writeObject in interface PersistentDefinition
Parameters:
jos - the Output storage for persistence

writeContents

public void writeContents(DefWriter jos)
Description copied from interface: PersistentDefinition
Objects should write their persistence output in this method

Specified by:
writeContents in interface PersistentDefinition
Parameters:
jos - the Output storage for persistence

writeChildren

public void writeChildren(DefWriter jos)
Description copied from interface: PersistentDefinition
Writes the Object's children to the Persistent storage

Specified by:
writeChildren in interface PersistentDefinition
Parameters:
jos - the Output storage for persistence

loadXMLContents

public void loadXMLContents(DefElement xmlElement)

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

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