Skip navigation links 
 
oracle.jbo.server
Class ViewLinkDefImpl
java.lang.Object
  
oracle.jbo.common.NamedObjectImpl
      
oracle.jbo.mom.DefinitionObject
          
oracle.jbo.mom.PersistableDefObject
              
oracle.jbo.server.DefObject
                  
oracle.jbo.server.MetaObject
                      
oracle.jbo.server.AssociationDefBase
                          
oracle.jbo.server.ViewLinkDefImpl
- All Implemented Interfaces:
 
- ResourceBundleOwner, DiffMergeable, 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 - 
 
 
 
  
 
| Field Summary | 
protected  oracle.jbo.server.EntityAssociationReference | 
mAssocRef 
            | 
 
 
 
| Fields inherited from class oracle.jbo.mom.DefinitionObject | 
DEF_MDS_CLIENT_KEY, DEF_SCOPE_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, DEF_SCOPE_SITE, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP | 
 
 
  
 
  
 
| Method Summary | 
 void | 
applyDiffContents(DifferDetails dif, DiffResolver resolver) 
            | 
 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. | 
 DifferDetails | 
diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails) 
            | 
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() 
            | 
 java.lang.String | 
getEndDefXMLElementTag() 
            | 
 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 | 
applyDiffChildren, diffChildren, findEndAccessorByName, findEndByName, getAccessors, getAssociationClause, getAttributeDefImpls, getAttributeDefImplsByEndName, getDefs, getDestinationEnd, getDestinationOwner, getOtherAttributeDefImpls, getReverseAssociationClause, getSourceEnd, getSourceOwner, resolveDefObject, setAssociationClause, setDirty, setReverseAssociationClause, writeChildren | 
 
| Methods inherited from class oracle.jbo.server.MetaObject | 
deregisterSessionObject, getEditVersionsAsString, getInheritPersonalizationValue, getMajorVersion, getMessageBundleClass, getMinorVersion, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getPersDefNoUpdateCheck, getResourceBundleDef, getResourcePrefix, isDynamic, isInheritPersonalization, loadDefVersions, loadResourceBundle, registerDefObject, registerSessionDefObject, setInheritPersonalization, setInheritPersonalizationStrValue, setMessageBundleClass, setResourceBundleDef | 
 
| Methods inherited from class oracle.jbo.server.DefObject | 
ensureVariableManager, finishedLoading, getAdfmConfigStartupProperty, getAllProperties, getBaseDefObject, getBooleanAdfmConfigProperty, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, isDeprecated, loadProperties, loadVariables, resolvePropertyRaw, setBaseDefObject, setBaseDefObject, setName, setParent | 
 
| Methods inherited from class oracle.jbo.mom.PersistableDefObject | 
addDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, checkEditable, checkStructWithOld, close, createFromXML, diffObjects, ensureDifferDetails, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSessionSyncLock, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, lockDefinitionContext, mergeChanges, mergePropertyMap, objectRemoved, reapplyChanges, registerClass, registerSiteDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setEditable, setEditableFlag, setEditableObject, setFullName, setFullNameInternal, setLoadBase, setMajorVersionChanged, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, setupDefWriterFromMO, staticUpdateChildrenList, unlockDefinitionContext, updateChildrenList, verifyVersion, verifyVersionNullCheck, writeObject, writeVersion, writeXMLContents | 
 
| Methods inherited from class oracle.jbo.mom.DefinitionObject | 
addPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSubtypeOf, 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, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, 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 | 
 
 
 
 
 
 
mAssocRef
protected oracle.jbo.server.EntityAssociationReference mAssocRef
ViewLinkDefImpl
public ViewLinkDefImpl()
- Constructs a query association
 
ViewLinkDefImpl
public ViewLinkDefImpl(int defScope,
                       java.lang.String name)
ViewLinkDefImpl
public ViewLinkDefImpl(java.lang.String name)
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 
 
getEndDefXMLElementTag
public java.lang.String getEndDefXMLElementTag()
- 
- Overrides:
 
getEndDefXMLElementTag in class AssociationDefBase 
 
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)
diffContents
public DifferDetails diffContents(DiffMergeable docDef,
                                  DiffMergeable orgDef,
                                  DifferDetails difDetails)
- 
- Specified by:
 
diffContents in interface DiffMergeable 
- Overrides:
 
diffContents in class AssociationDefBase 
 
applyDiffContents
public void applyDiffContents(DifferDetails dif,
                              DiffResolver resolver)
- 
- Specified by:
 
applyDiffContents in interface DiffMergeable 
- Overrides:
 
applyDiffContents in class AssociationDefBase 
 
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.