|
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 oracle.jbo.server.ViewLinkDefImpl
public class ViewLinkDefImpl
NAME ViewLinkDefImpl.java - DESCRIPTION The ViewLinkDefImpl describes relationship between two query objects. NOTES VERSION MODIFIED (MM/DD/YY) jloropez 06/08/04 -
Field Summary | |
---|---|
protected oracle.jbo.server.EntityAssociationReference |
mAssocRef
|
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 |
Constructor Summary | |
---|---|
ViewLinkDefImpl()
Constructs a query association |
|
ViewLinkDefImpl(int defScope,
java.lang.String name)
|
|
ViewLinkDefImpl(java.lang.String name)
|
Method Summary | |
---|---|
void |
buildLinkEnds(ViewDefImpl source,
java.lang.String srcName,
int srcCardinality,
boolean isSrcPartitionUsingWhereClause,
AttributeDefImpl[] srcAttrs,
java.lang.String[] srcUnboundAttrNames,
ViewDefImpl destination,
java.lang.String destName,
int destCardinality,
boolean isDestPartitionUsingWhereClause,
AttributeDefImpl[] destAttrs,
java.lang.String[] destUnboundAttrNames,
java.lang.Object entityAssocObj,
java.lang.String assocClause,
java.lang.String reverseAssocClause)
Internal use only. |
VariableValueManager |
ensureVariableManager()
Returns this object's Variable Value Manager. |
static ViewLinkDefImpl |
findDefObject(java.lang.String viewLinkDefName)
Finds the ViewLinkDefImpl from the statically maintained list of Meta Objects. |
static ViewLinkDefImpl |
findDefObjectNoSub(java.lang.String viewLinkDefName)
Finds the ViewLinkDefImpl from the statically maintained list of Meta Objects. |
protected void |
finishedLoading()
|
static java.lang.String[] |
getAllDefNames()
|
java.util.HashMap |
getAllProperties(java.util.HashMap map,
LocaleContext locale)
|
java.lang.String |
getBaseAssociationName()
|
DefinitionObject |
getBaseDefObject()
|
int |
getBindingStyle()
|
java.lang.Class |
getComponentClass()
Gets the Java Class of the component that this definition
object describes, i.e., oracle.jbo.server.ViewLinkImpl. |
int |
getDefTypeId()
|
java.lang.String |
getDefXMLElementTag()
|
java.lang.String |
getDefXMLNameSpace()
|
ViewAttributeDefImpl[] |
getDestinationBindVariables()
|
AssociationEnd |
getDestinationEntityAssocEnd()
|
EntityAssociation |
getEntityAssociation()
|
oracle.jbo.server.EntityAssociationReference |
getEntityAssociationReference()
|
AssociationEnd |
getSourceEntityAssocEnd()
|
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. |
boolean |
isEntityAssociationReversed()
|
boolean |
isPartitionUsingWhereClause(boolean isReversed)
|
boolean |
isSDOHidden()
|
static ViewLinkDefImpl |
loadFromXML(DefElement xmlElement)
Deprecated. |
protected void |
loadProperties(DefElement xmlElement)
|
protected void |
loadVariables(DefElement xmlElement)
|
void |
loadXMLContents(DefElement xmlElement,
java.lang.String fullName)
|
protected java.lang.Object |
resolvePropertyRaw(java.lang.String property,
LocaleContext locale)
|
protected void |
resolveReferences()
|
void |
setBaseAssociationName(java.lang.String assocName)
|
void |
setBaseDefObject(DefinitionObject baseDefObject)
|
void |
setBaseDefObject(DefinitionObject baseDefObject,
boolean addToBaseDef)
|
protected void |
setDefForComponent(ComponentObjectImpl comp)
|
void |
setDestinationBindVariables(ViewAttributeDefImpl[] vars)
|
void |
setEntityAssociationReference(oracle.jbo.server.EntityAssociationReference assocRef)
|
void |
setEntityAssociationReversed(boolean b)
|
void |
setName(java.lang.String name)
Name this object. |
protected void |
setParent(NamedObjectImpl parent)
Sets this object's parent. |
void |
setSDOHidden(boolean b)
|
protected void |
unsetDefForComponent(ComponentObjectImpl comp)
|
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 |
Field Detail |
---|
protected oracle.jbo.server.EntityAssociationReference mAssocRef
Constructor Detail |
---|
public ViewLinkDefImpl()
public ViewLinkDefImpl(int defScope, java.lang.String name)
public ViewLinkDefImpl(java.lang.String name)
Method Detail |
---|
public static java.lang.String[] getAllDefNames()
public static ViewLinkDefImpl findDefObjectNoSub(java.lang.String viewLinkDefName)
findDefObject
,
except that it does not observe meta-object substitution.
viewLinkDefName
- The fully qualified Name of the ViewDefImpl.
public static ViewLinkDefImpl findDefObject(java.lang.String viewLinkDefName)
viewLinkDefName
- The fully qualified Name of the ViewDefImpl.
public java.lang.Class getComponentClass()
Class
of the component that this definition
object describes, i.e., oracle.jbo.server.ViewLinkImpl.
public void buildLinkEnds(ViewDefImpl source, java.lang.String srcName, int srcCardinality, boolean isSrcPartitionUsingWhereClause, AttributeDefImpl[] srcAttrs, java.lang.String[] srcUnboundAttrNames, ViewDefImpl destination, java.lang.String destName, int destCardinality, boolean isDestPartitionUsingWhereClause, AttributeDefImpl[] destAttrs, java.lang.String[] destUnboundAttrNames, java.lang.Object entityAssocObj, java.lang.String assocClause, java.lang.String reverseAssocClause)
public java.lang.String getBaseAssociationName()
public void setBaseAssociationName(java.lang.String assocName)
public int getBindingStyle()
public boolean isEntityAssociationReversed()
public void setEntityAssociationReversed(boolean b)
public oracle.jbo.server.EntityAssociationReference getEntityAssociationReference()
public void setEntityAssociationReference(oracle.jbo.server.EntityAssociationReference assocRef)
assocRef
- The EntityAssociationReference.public EntityAssociation getEntityAssociation()
public AssociationEnd getSourceEntityAssocEnd()
public AssociationEnd getDestinationEntityAssocEnd()
public ViewAttributeDefImpl[] getDestinationBindVariables()
public boolean isPartitionUsingWhereClause(boolean isReversed)
public void setDestinationBindVariables(ViewAttributeDefImpl[] vars)
vars
- The list of AttributeDefImpls as bind variables on other end.public void writeContents(DefWriter jos)
PersistentDefinition
writeContents
in interface PersistentDefinition
writeContents
in class AssociationDefBase
jos
- the Output storage for persistencepublic void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
loadXMLContents
in class PersistableDefObject
@Deprecated public static ViewLinkDefImpl loadFromXML(DefElement xmlElement)
protected void resolveReferences()
resolveReferences
in class AssociationDefBase
public int getDefTypeId()
protected void setDefForComponent(ComponentObjectImpl comp)
protected void unsetDefForComponent(ComponentObjectImpl comp)
public java.lang.String getDefXMLElementTag()
getDefXMLElementTag
in interface PersistentDefinition
getDefXMLElementTag
in class PersistableDefObject
public boolean isSDOHidden()
public void setSDOHidden(boolean b)
public 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 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 |