Skip navigation links

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

E17483-03


oracle.jbo.server
Class ViewLinkDefImpl

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.mom.DefinitionObject
          extended by oracle.jbo.mom.PersistableDefObject
              extended by oracle.jbo.server.DefObject
                  extended by oracle.jbo.server.MetaObject
                      extended by oracle.jbo.server.AssociationDefBase
                          extended by oracle.jbo.server.ViewLinkDefImpl

All Implemented Interfaces:
ResourceBundleOwner, DefPersistable, PersistentDefinition, Association, VariableManagerOwner, VariableManagerOwnerBase

public class ViewLinkDefImpl
extends AssociationDefBase
 NAME
      ViewLinkDefImpl.java -
 DESCRIPTION

      The ViewLinkDefImpl describes relationship between two query objects.

 NOTES


 VERSION
 MODIFIED   (MM/DD/YY)
    jloropez 06/08/04 - 
 

Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType

 

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, PROPERTY_EXPRMAP

 

Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_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.
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.
static java.lang.String[] getAllDefNames()
           
 java.lang.String getBaseAssociationName()
           
 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()
           
 ViewAttributeDefImpl[] getDestinationBindVariables()
           
 AssociationEnd getDestinationEntityAssocEnd()
           
 EntityAssociation getEntityAssociation()
           
 oracle.jbo.server.EntityAssociationReference getEntityAssociationReference()
           
 AssociationEnd getSourceEntityAssocEnd()
           
 boolean isEntityAssociationReversed()
           
 boolean isPartitionUsingWhereClause(boolean isReversed)
           
 boolean isSDOHidden()
           
static ViewLinkDefImpl loadFromXML(DefElement xmlElement)
          Deprecated. 
 void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
           
protected  void resolveReferences()
           
 void setBaseAssociationName(java.lang.String assocName)
           
protected  void setDefForComponent(ComponentObjectImpl comp)
           
 void setDestinationBindVariables(ViewAttributeDefImpl[] vars)
           
 void setEntityAssociationReference(oracle.jbo.server.EntityAssociationReference assocRef)
           
 void setEntityAssociationReversed(boolean b)
           
 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.AssociationDefBase
findEndAccessorByName, findEndByName, getAccessors, getAssociationClause, getAttributeDefImpls, getAttributeDefImplsByEndName, getDefs, getDestinationEnd, getDestinationOwner, getOtherAttributeDefImpls, getReverseAssociationClause, getSourceEnd, getSourceOwner, resolveDefObject, setAssociationClause, setReverseAssociationClause, writeChildren

 

Methods inherited from class oracle.jbo.server.MetaObject
deregisterSessionObject, getMessageBundleClass, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getPersDefNoUpdateCheck, getResourceBundleDef, getResourcePrefix, isDynamic, loadResourceBundle, registerDefObject, registerSessionDefObject, setMessageBundleClass, setResourceBundleDef

 

Methods inherited from class oracle.jbo.server.DefObject
ensureVariableManager, finishedLoading, getAllProperties, getBaseDefObject, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, loadProperties, loadVariables, resolvePropertyRaw, setBaseDefObject, setBaseDefObject, setName, setParent

 

Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, addExtendedDefObject, allocatePropertyMap, checkEditable, close, createFromXML, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditObject, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isNew, isPersonalizationEnabled, isPersonalizationEnabled, loadDefImports, mergePropertyMap, objectRemoved, reapplyChanges, reapplyChangesToChildren, reapplyChangesToContents, registerClass, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setFullName, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, updateChildrenList, verifyVersion, writeObject, writeVersion, writeXMLContents

 

Methods inherited from class oracle.jbo.mom.DefinitionObject
addPropertySetName, enableUpdateCheck, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSuppressUpdateCheck, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName, suppressUpdateCheck

 

Methods inherited from class oracle.jbo.common.NamedObjectImpl
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getResourcesFromBundle, getStringFromMessageBundle, isPropertyExpression, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, 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

mAssocRef

protected oracle.jbo.server.EntityAssociationReference mAssocRef

Constructor Detail

ViewLinkDefImpl

public ViewLinkDefImpl()
Constructs a query association

ViewLinkDefImpl

public ViewLinkDefImpl(int defScope,
                       java.lang.String name)

ViewLinkDefImpl

public ViewLinkDefImpl(java.lang.String name)

Method Detail

getAllDefNames

public static java.lang.String[] getAllDefNames()

findDefObjectNoSub

public static ViewLinkDefImpl findDefObjectNoSub(java.lang.String viewLinkDefName)
Finds the ViewLinkDefImpl from the statically maintained list of Meta Objects. Performs essentially the same operation as findDefObject, except that it does not observe meta-object substitution.
Parameters:
viewLinkDefName - The fully qualified Name of the ViewDefImpl.
Returns:
The View Link definition object corresponding to the specified name.

findDefObject

public static ViewLinkDefImpl findDefObject(java.lang.String viewLinkDefName)
Finds the ViewLinkDefImpl from the statically maintained list of Meta Objects.
Parameters:
viewLinkDefName - The fully qualified Name of the ViewDefImpl.
Returns:
The View Link definition object corresponding to the specified name.

getComponentClass

public java.lang.Class getComponentClass()
Gets the Java Class of the component that this definition object describes, i.e., oracle.jbo.server.ViewLinkImpl.
Returns:
the component class.

buildLinkEnds

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)
Internal use only. Application developers should not use this method.

getBaseAssociationName

public java.lang.String getBaseAssociationName()

setBaseAssociationName

public void setBaseAssociationName(java.lang.String assocName)

getBindingStyle

public int getBindingStyle()

isEntityAssociationReversed

public boolean isEntityAssociationReversed()

setEntityAssociationReversed

public void setEntityAssociationReversed(boolean b)

getEntityAssociationReference

public oracle.jbo.server.EntityAssociationReference getEntityAssociationReference()
Returns:
The EntityAssociationReference.

setEntityAssociationReference

public void setEntityAssociationReference(oracle.jbo.server.EntityAssociationReference assocRef)
Parameters:
assocRef - The EntityAssociationReference.

getEntityAssociation

public EntityAssociation getEntityAssociation()
Returns:
The EntityAssociation.

getSourceEntityAssocEnd

public AssociationEnd getSourceEntityAssocEnd()

getDestinationEntityAssocEnd

public AssociationEnd getDestinationEntityAssocEnd()

getDestinationBindVariables

public ViewAttributeDefImpl[] getDestinationBindVariables()
Returns:
The destination bind variables.

isPartitionUsingWhereClause

public boolean isPartitionUsingWhereClause(boolean isReversed)

setDestinationBindVariables

public void setDestinationBindVariables(ViewAttributeDefImpl[] vars)
Parameters:
vars - The list of AttributeDefImpls as bind variables on other end.

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
Overrides:
writeContents in class AssociationDefBase
Parameters:
jos - the Output storage for persistence

loadXMLContents

public void loadXMLContents(DefElement xmlElement,
                            java.lang.String fullName)
Overrides:
loadXMLContents in class PersistableDefObject

loadFromXML

@Deprecated
public static ViewLinkDefImpl loadFromXML(DefElement xmlElement)
Deprecated. 

resolveReferences

protected void resolveReferences()
Specified by:
resolveReferences in class AssociationDefBase

getDefTypeId

public int getDefTypeId()
Specified by:
getDefTypeId in class DefObject

setDefForComponent

protected void setDefForComponent(ComponentObjectImpl comp)
Specified by:
setDefForComponent in class DefObject

unsetDefForComponent

protected void unsetDefForComponent(ComponentObjectImpl comp)
Specified by:
unsetDefForComponent in class DefObject

getDefXMLElementTag

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

isSDOHidden

public boolean isSDOHidden()

setSDOHidden

public void setSDOHidden(boolean b)

Skip navigation links

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

E17483-03


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