|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.common.NamedObjectImpl oracle.jbo.mom.DefinitionObject oracle.jbo.mom.PersistableDefObject oracle.jbo.server.MetaObject oracle.jbo.server.AssociationDefBase
public abstract class AssociationDefBase
Field Summary |
---|
Fields inherited from class oracle.jbo.server.MetaObject |
---|
mComponentClass |
Fields inherited from class oracle.jbo.mom.DefinitionObject |
---|
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.common.NamedObjectImpl |
---|
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX |
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
XML_STATEMENT |
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()
|
java.util.HashMap |
getAllProperties(java.util.HashMap map,
LocaleContext locale)
|
java.lang.String |
getAssociationClause()
|
AttributeDefImpl[] |
getAttributeDefImpls()
|
AttributeDefImpl[] |
getAttributeDefImplsByEndName(java.lang.String endName)
Returns the attribute definitions of one end of the association. |
DefinitionObject |
getBaseDefObject()
|
oracle.jbo.server.DefObject[] |
getDefs()
|
abstract int |
getDefTypeId()
|
java.lang.String |
getDefXMLNameSpace()
|
AssociationEnd |
getDestinationEnd()
|
RowDef |
getDestinationOwner()
|
AttributeDefImpl[] |
getOtherAttributeDefImpls()
|
java.lang.String |
getReverseAssociationClause()
|
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)
|
void |
resolveDefObject()
|
protected java.lang.Object |
resolvePropertyRaw(java.lang.String property,
LocaleContext locale)
|
protected abstract void |
resolveReferences()
|
void |
setAssociationClause(java.lang.String assocClause)
|
void |
setBaseDefObject(DefinitionObject baseDefObject)
|
void |
setBaseDefObject(DefinitionObject baseDefObject,
boolean addToBaseDef)
|
protected abstract void |
setDefForComponent(ComponentObjectImpl comp)
|
void |
setName(java.lang.String name)
Name this object. |
protected void |
setParent(NamedObjectImpl parent)
Sets this object's parent. |
void |
setReverseAssociationClause(java.lang.String reverseAssocClause)
|
protected abstract void |
unsetDefForComponent(ComponentObjectImpl comp)
|
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 |
Methods inherited from class oracle.jbo.server.MetaObject |
---|
deregisterSessionObject, getMessageBundleClass, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getResourceBundleDef, getResourcePrefix, isDynamic, loadResourceBundle, registerDefObject, registerSessionDefObject, setMessageBundleClass, setResourceBundleDef |
Methods inherited from class oracle.jbo.common.NamedObjectImpl |
---|
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getResourcesFromBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, setFullName, setPropertiesMap, setPropertiesMap2, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.server.Association |
---|
getFullName, getName |
Methods inherited from interface oracle.jbo.VariableManagerOwner |
---|
getName |
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
getFullName |
Method Detail |
---|
public AssociationEnd getSourceEnd()
getSourceEnd
in interface Association
public AssociationEnd getDestinationEnd()
getDestinationEnd
in interface Association
public AssociationEnd findEndByName(java.lang.String endName)
findEndByName
in interface Association
public RowDef getSourceOwner()
getSourceOwner
in interface Association
public RowDef getDestinationOwner()
getDestinationOwner
in interface Association
public oracle.jbo.server.DefObject[] getDefs()
getDefs
in interface Association
public AttributeDefImpl[] getAttributeDefImpls()
getAttributeDefImpls
in interface Association
public AttributeDefImpl[] getOtherAttributeDefImpls()
getOtherAttributeDefImpls
in interface Association
public AssociationDefImpl[] getAccessors()
public AssociationDefImpl findEndAccessorByName(java.lang.String endName)
public AttributeDefImpl[] getAttributeDefImplsByEndName(java.lang.String endName)
getAttributeDefImplsByEndName
in interface Association
endName
- the name of one of the association's Entity Objects.
public java.lang.String getAssociationClause()
getAssociationClause
in interface Association
public void setAssociationClause(java.lang.String assocClause)
public java.lang.String getReverseAssociationClause()
getReverseAssociationClause
in interface Association
public void setReverseAssociationClause(java.lang.String reverseAssocClause)
protected abstract void resolveReferences()
public void resolveDefObject()
resolveDefObject
in class MetaObject
public void writeChildren(DefWriter jos)
PersistentDefinition
writeChildren
in interface PersistentDefinition
writeChildren
in class MetaObject
jos
- the Output storage for persistencepublic void writeContents(DefWriter jos)
PersistentDefinition
writeContents
in interface PersistentDefinition
writeContents
in class MetaObject
jos
- the Output storage for persistencepublic void setName(java.lang.String name)
setName
in class DefinitionObject
name
- the name to be given to this object.public DefinitionObject getBaseDefObject()
getBaseDefObject
in class DefinitionObject
public void setBaseDefObject(DefinitionObject baseDefObject)
setBaseDefObject
in class DefinitionObject
public void setBaseDefObject(DefinitionObject baseDefObject, boolean addToBaseDef)
setBaseDefObject
in class DefinitionObject
protected void finishedLoading()
finishedLoading
in class DefinitionObject
protected void setParent(NamedObjectImpl parent)
setParent
in class DefinitionObject
parent
- the named object that is to be the parent of this object.protected void loadProperties(DefElement xmlElement)
loadProperties
in class DefinitionObject
xmlElement
- The XML element to load from.protected void loadVariables(DefElement xmlElement)
public abstract int getDefTypeId()
protected abstract void setDefForComponent(ComponentObjectImpl comp)
protected abstract void unsetDefForComponent(ComponentObjectImpl comp)
public VariableValueManager getVariableManager()
VariableManagerOwnerBase
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.
in contrast, ensures
that the Variable Value Manager is initialized (created).
VariableManagerOwnerBase.ensureVariableManager()
getVariableManager
in interface VariableManagerOwnerBase
null
if one was not yet initialized.protected VariableValueManager[] getVarMgrParents()
public boolean hasVariables()
VariableManagerOwnerBase
hasVariables
in interface VariableManagerOwnerBase
public VariableValueManager ensureVariableManager()
VariableManagerOwnerBase
ensureVariableManager
in interface VariableManagerOwnerBase
public java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace
in interface PersistentDefinition
getDefXMLNameSpace
in class PersistableDefObject
protected java.lang.Object resolvePropertyRaw(java.lang.String property, LocaleContext locale)
resolvePropertyRaw
in class NamedObjectImpl
public java.util.HashMap getAllProperties(java.util.HashMap map, LocaleContext locale)
getAllProperties
in class NamedObjectImpl
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |