# this is the rule file for the MDL
# header information
PRODSRCRELEASE=9.1.0.5.0
PRODTGTRELEASE=9.0.3.22.0
SRCRELEASE=9.0.3
TGTRELEASE=9.2
SRCMDLRELEASE=9.1.1
TGTMDLRELEASE=9.2
CLASSPATH=oracle.wh.repos.pdl.metadataloader.Import
# no comments allowed between BEGIN_HEADER and END_HEADER
# unless you want it to appear as part of the header of your target file
# <TIMESTAMP> will be replaced with the date and time while <RELEASE> will be replaced with the old release version
BEGIN_HEADER
#!----------------------------------------------------------------------
#!
#!   	Oracle Warehouse Builder Upgrade Utility  <TIMESTAMP>
#!	MDL Import Rules
#!
#!----------------------------------------------------------------------  
END_HEADER

#TRIGGER format
# 1. MDL Element Names that the trigger is for.
# 2. Priority - use to define sequence when mutliple triggers for same keywords.
# 3. Type - 0=pre trigger, 1-post trigger
# 4. Method to excuete for trigger.

# Triggers for handling the MDL file ADMIN element attributes.
TRIGGERACTION,[ADMIN],1,0,MDLImportRules.processAdmin

# Triggers for handling the MDL file Workspace element metadata.
TRIGGERACTION,[WORKSPACE],1,0,MDLImportRules.processWorkspace

# Triggers for handling Language and Supported Language metadata.
TRIGGERACTION,[LANGUAGE],1,0,MDLImportRules.processLanguage
TRIGGERACTION,[SUPPORTEDLANGUAGE],1,0,MDLImportRules.processSupportedLanguage

# Triggers for checking is a translation should be imported.
TRIGGERACTION,[TRANSLATION],1,0,MDLImportRules.checkIfImportTranslation

# Triggers for handling Snapshot and SnapshotRoot metadata.
TRIGGERACTION,[SNAPSHOT],1,0,MDLImportRules.processSnapshot
TRIGGERACTION,[SNAPSHOTROOT],1,0,MDLImportRules.processSnapshotRoot

# Triggers for handling security related objects.
TRIGGERACTION,[ROLE],1,0,MDLImportRules.checkIfImportSecurityElement
TRIGGERACTION,[ROLE],2,0,MDLImportRules.processPrivilegeOwner


TRIGGERACTION,[USER],1,0,MDLImportRules.checkIfImportSecurityElement
TRIGGERACTION,[USER],2,1,MDLImportRules.registerNewUser
TRIGGERACTION,[USER],3,1,MDLImportRules.processExistingUser
TRIGGERACTION,[USER],4,0,MDLImportRules.processPrivilegeOwner

# GLH 04/13/07 Added when wroking on bug 5983619.
TRIGGERACTION,[ACCESSPREFERENCE],1,0,MDLImportRules.processAccessPreference

# GLH 02/01/06 Added for bug 4999628.
TRIGGERACTION,[OWBAssoc_PrivilegeOwner],1,0,MDLImportRules.processAccessPreferencePrivilegeOwner
TRIGGERACTION,[ROLEASSIGNMENT],1,0,MDLImportRules.checkIfImportSecurityElement
TRIGGERACTION,[ACLCONTAINER],1,0,MDLImportRules.checkIfImportSecurityElement

# Triggers for handling Project metadata.
TRIGGERACTION,[PROJECT],1,0,MDLImportRules.processProject
TRIGGERACTION,[PROJECT],2,1,MDLImportRules.processProjectPostTrigger

# Triggers for handling checking for admin privileges.
TRIGGERACTION,[CMI_DEFINITION],1,0,MDLImportRules.checkImportMIVDefinition

# Triggers for handling ensuring that MIV Module is associated with a MIV Definition.
# GLH 04/15/09  Commented out for bug 8309175.
#TRIGGERACTION,[OWBAssoc_MIVDefinition],1,1,MDLImportRules.checkMIVModuleAssocMIVDefinition

# Triggers for handling Location metadata.
TRIGGERACTION,[LOCATION],1,0,MDLImportRules.processLocation

# Triggers for handling Connector metadata.
TRIGGERACTION,[CONNECTOR],1,0,MDLImportRules.processConnector

# Triggers for handling Control Center metadata.
TRIGGERACTION,[CONTROL_CENTER],1,0,MDLImportRules.processControlCenter

# Triggers for setting reserved checking off so that sequence columns NEXTVAL and CURRVAL can be added.
TRIGGERACTION,[SEQUENCE],1,0,MDLImportRules.setReserveWordCheckOff

# Bug 4766630 - Temp Trigger for PartitionKey for MDL files after 10.1.2.3.72 build model changes.
TRIGGERACTION,[PARTITION_KEY],1,0,MDLImportRules.processPartitionKey

# GLH 03/26/07  Added for bug 5950141 for Reference Property Value referenced Element.
TRIGGERACTION,[OWBAssoc_ReferencedElement],1,0,MDLImportRules.processOWBAssocReferencedElement
# GLH 10/23/08  Added to look to delete a Location Usage for which it's referenced Location could not be found.
TRIGGERACTION,[OWBAssoc_Location],2,1,MDLImportRules.checkForDanglingLocationUsage

# GLH 04/06/09 Added when merging Paris fix for bug 7615456.
TRIGGERACTION,[REFERENCEPROPERTYVALUE],1,0,MDLImportRules.processReferencePropertyValue

# GLH 12/11/05 Added for bug 4689667.
TRIGGERACTION,[PACKAGE],1,1,MDLImportRules.postProcessFunctionCategory

# Triggers for temporarily setting reserved checking off until mapping namespace moved into platform layer.
TRIGGERACTION,[MAPPING],1,0,MDLImportRules.setReserveWordCheckOff

# GLH 11/19/05 Added for bug 4748887.
TRIGGERACTION,[OPERATOR],1,0,MDLImportRules.processMapOperator

# GLH 11/19/05 Added for bug 4748887.
TRIGGERACTION,[CLOBPROPERTYVALUE],1,0,MDLImportRules.processClobPropertyValue

# Triggers for updating CMPFunctionNameInfo signature for Functions.
TRIGGERACTION,[FUNCTION],1,1,MDLImportRules.setFunctionNameInfoSignature

# TEMPORARY Trigger for updgrading DATAENTITY.PARMETERS.MATCHBYCONSTRAINT from paris beta1 to beta2 (bug 3750956).
TRIGGERACTION,[STRINGPROPERTYVALUE],1,0,MDLImportRules.processStringPropertyValue

# Triggers for handling Data Rule Module metadata.
TRIGGERACTION,[DATA_RULE_MODULE],1,0,MDLImportRules.processDataRuleModule

# Trigger for saving Referenced Relation association metadata.
TRIGGERACTION,[OWBAssoc_ReferencedRelation],1,0,MDLImportRules.saveReferencedRelationAssocValues

# Trigger for processing OWBAssoc_Attribute for CMPWBItemsetusage for a CMPRelationUsage.
TRIGGERACTION,[OWBAssoc_Attribute],1,0,MDLImportRules.processOWBAssocAttribute

# GLH 02/08/06  Added for bug 5018466. Triggers for handling Shared Module metadata.
TRIGGERACTION,[SHARED_MODULE],1,0,MDLImportRules.setNameValidationSkippedOn
TRIGGERACTION,[SHARED_MODULE],2,1,MDLImportRules.setNameValidationSkippedOff

# GLH 03/02/06  Added for bug 5071606 for GROUP for removing desupported ERROR groups.
TRIGGERACTION,[GROUP],1,0,MDLImportRules.processMapGroup

# GLH 03/15/06  Added for bug 5093451 for Control Center Connector referenced location.
TRIGGERACTION,[OWBAssoc_ReferencedLocation],1,0,MDLImportRules.processReferencedLocation

# GLH 09/22/06  Added for bug 5390587 for Physical Object referenced Named Configuration.
TRIGGERACTION,[OWBAssoc_NamedConfiguration],1,0,MDLImportRules.processOWBAssocNamedConfiguration

# GLH 03/26/07  Added for bug 5950141 for Location Usage referenced Location.
TRIGGERACTION,[OWBAssoc_Location],1,0,MDLImportRules.processOWBAssocLocation

# GLH 03/29/07  Added for bug 5916047 for Map Attribute.
TRIGGERACTION,[ATTRIBUTE],1,0,MDLImportRules.processMapAttribute

# GLH 01/14/09  Added for bug 7659193 for Pure Physical Object.
TRIGGERACTION,[PUREPHYSICALOBJECT],1,0,MDLImportRules.processPurePhysicalObject

# GLH 12/19/08  Added for bug 7615456 for Physical Object.
TRIGGERACTION,[PHYSICALOBJECT],1,0,MDLImportRules.processPhysicalObject

# GLH 09/11/07 Another Trigger for handling ensuring that MIV Module is associated with a MIV Definition.
TRIGGERACTION,[OWBAssoc_Platform],1,1,MDLImportRules.processOWBAssocPlatform

# GLH 11/14/07 Added to ensure that newly created platforms are committed before importing any projects.
TRIGGERACTION,[PLATFORM],1,1,MDLImportRules.processPlatform

# GLH 11/19/07 Added to ensure that newly created experts have aggregated signature set in its WBContext.
TRIGGERACTION,[EXPERT],1,1,MDLImportRules.processExpert

# GLH 04/08/08  Added for bug 6934817 for Table and Column.
TRIGGERACTION,[TABLE;COLUMN],1,0,MDLImportRules.checkForReservedPrefix
TRIGGERACTION,[TABLE;COLUMN],2,1,MDLImportRules.checkForReservedPrefixPostTrigger

# GLH 04/08/08  Added for bug 6934817 for SYSTEM_PARAMETER.
TRIGGERACTION,[SYSTEM_PARAMETER],1,0,MDLImportRules.processSystemParameter
TRIGGERACTION,[SYSTEM_PARAMETER],2,1,MDLImportRules.processSystemParameterPostTrigger
# GLH 04/24/09  Added for bug 8454807.
TRIGGERACTION,[SYSTEM_PARAMETER],3,0,MDLImportRules.setNameValidationSkippedOn
TRIGGERACTION,[SYSTEM_PARAMETER],4,1,MDLImportRules.setNameValidationSkippedOff

# GLH 04/08/08 Added for bug 6921719.
TRIGGERACTION,[EXPERT_MODULE],1,0,MDLImportRules.processExpertModule

# GLH 05/15/08  Added for bug 7009394. Triggers for handling allowing non-standard Oracle table names.  (This may be temporary).
TRIGGERACTION,[TABLE;COLUMN;CHECK_CONSTRAINT],3,0,MDLImportRules.setNameValidationSkippedOn
TRIGGERACTION,[TABLE;COLUMN;CHECK_CONSTRAINT],4,1,MDLImportRules.setNameValidationSkippedOff
TRIGGERACTION,[CHECK_CONSTRAINT;UNIQUE_KEY;FOREIGN_KEY],1,0,MDLImportRules.setNameValidationSkippedOn
TRIGGERACTION,[CHECK_CONSTRAINT;UNIQUE_KEY;FOREIGN_KEY],2,1,MDLImportRules.setNameValidationSkippedOff

# GLH 06/03/08  Added for bug 7142202. Triggers for handling allowing non-standard mapping attribute names.  (This may be temporary).
TRIGGERACTION,[ATTRIBUTE],2,0,MDLImportRules.setNameValidationSkippedOn
TRIGGERACTION,[ATTRIBUTE],3,1,MDLImportRules.setNameValidationSkippedOff

# GLH 06/19/08 Temp trigger to allow import of Tahoe MDL files that have obsolete OWBAssoc_ReferredType.
TRIGGERACTION,[OWBAssoc_ReferredType],1,0,MDLImportRules.skipOWBAssoc

# GLH 06/25/08 Temp trigger to allow import of Tahoe MDL files that have obsolete OWBAssoc_DerivationSourceSCO and DerivedFCO.
TRIGGERACTION,[OWBAssoc_DerivationSourceSCO],1,0,MDLImportRules.skipDerivationOWBAssoc
TRIGGERACTION,[OWBAssoc_DerivedFCO],1,0,MDLImportRules.skipDerivationOWBAssoc
TRIGGERACTION,[OWBAssoc_DerivationSourceFCO],1,0,MDLImportRules.skipDerivationOWBAssoc

# GLH 11/07/08  Added for bug 4956426.
TRIGGERACTION,[GENERIC_MODULE;GENERIC_FOLDER;GENERIC_OBJECT;GENERIC_COMPONENT],1,1,MDLImportRules.processGenericObject

# GLH 12/17/08 Added for bug 7650389.  (temporary - remove for production)
TRIGGERACTION,[SYSTEM_VARIABLE],1,0,MDLImportRules.processSystemVariable

# GLH 01/07/09 Added for bug 6062328.
TRIGGERACTION,[CONFIGURATION],1,0,MDLImportRules.processConfiguration

# GLH 05/01/09 Temp triggers to support import of beta Tahoe MDL files that reference BUILT_IN_KM instead of BUILT_IN_CT.
TRIGGERACTION,[OWBAssoc_ReferencingParameter],1,0,MDLImportRules.checkForOldBuiltInKM
TRIGGERACTION,[OWBAssoc_ReferencingTaskFlow],1,0,MDLImportRules.checkForOldBuiltInKM


#SECONDPASS format
# 1. MDL Element Name that requires a second pass
# 2. Condition operator (e.g. >=, >, ENDOF) used with the second pass trigger element that follows
# 3. MDL Element Name used with condition operator that triggers the second pass to actually begin
# 4. CACHED/UNCACHED indicator.  UNCACHED requires an actual physical second pass/parsing of MDL file.
#                                CACHED means that all info required for second pass is cached in memory.

## For Connector referenced location association (as opposed to doing second pass for entire connector).
SECONDPASS,[OWBAssoc_ReferencedLocation],>,CONTROL_CENTER,CACHED
# For testing only, the line above is the real rule
#SECONDPASS,[OWBAssoc_ReferencedLocation],>,CONTROL_CENTER,UNCACHED


## For Foreign Key referenced unique key association
## GLH 07/31/08 Changed from UNCACHED to CACHED to get better performance (particlulary for multi-project MDL files).
#SECONDPASS,[OWBAssoc_UniqueKey],>=,PLUGGABLE_MAPPING,CACHED
# For testing only, the line above is the real rule
## GLH 08/12/08  Use UNCACHED for some acceptance tests for code coverage.
SECONDPASS,[OWBAssoc_UniqueKey],>=,PLUGGABLE_MAPPING,UNCACHED


## For Profile Foreign Key referenced unique key association
## GLH 08/12/08  Use UNCACHED for some acceptance tests for code coverage.
SECONDPASS,[PROFILE_FOREIGN_KEY.OWBAssoc_UniqueKey],>=,DATA_RULE_MODULE,UNCACHED
#SECONDPASS,[PROFILE_FOREIGN_KEY.OWBAssoc_UniqueKey],>=,DATA_RULE_MODULE,CACHED


## TEMP rule until export order changed to OBJECT_TYPE, QUEUE_TABLE, ADVANCED_QUEUE.
## For advanced queue referenced payload type association
SECONDPASS,[OWBAssoc_PayloadType],>,OBJECT_TYPE,CACHED
# For testing only, the line above is the real rule
#SECONDPASS,[OWBAssoc_PayloadType],>,OBJECT_TYPE,UNCACHED


## For process flow activity referenced CopyOf association
## GLH 09/22/06  Changed from ENDOF,PROCESS_FLOW_PACKAGE,CACHED since subprocesses can reference processses from other PF modules.
## GLH 10/17/07  Changed from >=,EXPERT_MODULE,CACHED since subprocesses are also used in Experts/TaskFlows and can reference experts from other Expert/Task Flow modules.
SECONDPASS,[OWBAssoc_CopyOf],>=,COLLECTION,CACHED


## For business tree shortcut referenced FCO association
SECONDPASS,[OWBAssoc_FCO],>=,TASKFLOWSET,CACHED
# For testing only, the line above is the real rule
#SECONDPASS,[OWBAssoc_FCO],>=,TASKFLOWSET,UNCACHED


## Only one of these rules will be needed once a specific export ordering is implemented for Expert objects.
## For Task Flow Implementation referenced ReferringTask association
SECONDPASS,[OWBAssoc_ReferringTask],ENDOF,EXPERT,CACHED
## For Task referenced TaskImplementation association
SECONDPASS,[OWBAssoc_TaskImplementation],ENDOF,EXPERT,CACHED


## For Mapping Attribute ConnectFrom intercomponent association to other mapping attributes.
SECONDPASS,[OWBAssoc_ConnectFrom],ENDOF,MAPPING,CACHED


## For QUERYEXPREF ReferencedSCO association to QueryItem
SECONDPASS,[OWBAssoc_ReferencedSCO],ENDOF,BUSINESS_DEFINITION_MODULE,CACHED

## For DEPENDENCY SourceFCO association to QueryObject
SECONDPASS,[OWBAssoc_SourceFCO],ENDOF,BUSINESS_DEFINITION_MODULE,CACHED

## For JOIN ReferencedObject association to QueryObject
SECONDPASS,[OWBAssoc_ReferencedObject],ENDOF,BUSINESS_DEFINITION_MODULE,CACHED

## For JOIN_COMPONENT RemoteItem association to QueryItem
SECONDPASS,[OWBAssoc_RemoteItem],ENDOF,BUSINESS_DEFINITION_MODULE,CACHED

## For ITEM LovItemClass association to LovItemClass
SECONDPASS,[OWBAssoc_LovItemClass],ENDOF,BUSINESS_DEFINITION_MODULE,CACHED

## For ITEM_FOLDER (CMPQueryObject) ParentDerivedFCO association to other CMPQueryObject
SECONDPASS,[OWBAssoc_ParentDerivedFCO],ENDOF,BUSINESS_DEFINITION_MODULE,CACHED

## For OBJECTJOINUSAGE Join association to CMPJoin
SECONDPASS,[OWBAssoc_Join],ENDOF,BUSINESS_DEFINITION_MODULE,CACHED

## GLH 07/14/04 Below rule should be temporary until export ordering changes to always put config last for FCO.
## For REFERENCEPROPERTYVALUE ReferencedElement association
SECONDPASS,[OWBAssoc_ReferencedElement],ENDOF,PROJECT,CACHED

## For Dimension referenced Map for TimeDimPopulationMap association.
SECONDPASS,[OWBAssoc_TimeDimPopulationMap],>,PLUGGABLE_MAPPING,CACHED

## GLH 09/17/04 Below rule should be temporary until export ordering changes to always put TARGETTABLEUSAGE after profile tables for a data profile.
## For TARGETTABLEUSAGE ProfileTable association to CMPProfileTable
SECONDPASS,[OWBAssoc_ProfileTable],ENDOF,DATA_PROFILE,CACHED

## For CAPTURERELATION referenced Relation for Relation association.
SECONDPASS,[OWBAssoc_Relation],>=,PLUGGABLE_MAPPING,CACHED

## For QUEUE_PROPAGATION referenced TargetQueue for TargetQueue association.
SECONDPASS,[OWBAssoc_TargetQueue],>=,PLUGGABLE_MAPPING,CACHED

## For PLSQL_TABLE_TYPE referenced TypeDefinition for TypeDefinition association.
## Also works for Function PARAMETER for Return_Value referenced TypeDefinition.
## NOTE:  This rule will be used for any objects that have an OWBAssoc_TypeDefinition.
SECONDPASS,[OWBAssoc_TypeDefinition],>=,PLUGGABLE_MAPPING,CACHED

## For PLSQL_REF_CURSOR_TYPE referenced PL/SQL Record Type for ReturnType association.
SECONDPASS,[OWBAssoc_ReturnType],>=,PLUGGABLE_MAPPING,CACHED


## BEGIN For Bug 4104663 - These may not be needed if MDL file order can be changed to have DATA_RULE_MODULE before ORACLE_MODULE
## For BUSINESSRULEUSAGE / CMPBusinessRuleUsage referenced CMPBusinessRuleDefinition for RuleDefinition association.
SECONDPASS,[OWBAssoc_RuleDefinition],>=,BUSINESS_DEFINITION_MODULE,CACHED

## For RELATIONUSAGE / CMPRelationUsage referenced CMPBusinessRuleRelParam for ReferencedRelDefinition association.
SECONDPASS,[OWBAssoc_ReferencedRelDefinition],>=,BUSINESS_DEFINITION_MODULE,CACHED

## For ITEMSETUSAGE / CMPWBItemSetUsage referenced CMPBusinessRuleItemParam for ReferencedItemDefinition association.
SECONDPASS,[OWBAssoc_ReferencedItemDefinition],>=,BUSINESS_DEFINITION_MODULE,CACHED
## END For Bug 4104663 

## For DIMENSION referenced Map for TimeDimPopulationMap association.
SECONDPASS,[OWBAssoc_TimeDimPopulationMap],>,MAPPING,CACHED

## For Item Set Usage referenced attribute association (only applies to item set usages for relations usages for data rule support)
SECONDPASS,[OWBAssoc_Attribute],>,DATA_RULE_MODULE,CACHED
#SECONDPASS,[OWBAssoc_Attribute],>,DATA_RULE_MODULE,UNCACHED

## For RELATIONUSAGE referenced relation association.
SECONDPASS,[OWBAssoc_ReferencedRelation],>=,DATA_RULE_MODULE,CACHED

## For CMPInclusionDependency/ROW_RELATIONSHIP referenced target CMPInclusionDependency (TargetIND).
SECONDPASS,[OWBAssoc_TargetIND],>=,DATA_RULE_MODULE,CACHED

## GLH 10/12/05 Below rule should only apply to pre-production MDL files that do not have Weak Modules before mappings in the file.
## For Map operator and map attributes Referencing Object Assoc to objects from a Weak Module.
## GLH 11/13/07 Tested with AllDevTests.mdl and this rule is still needed.
SECONDPASS,[OWBAssoc_ReferencingObject],>=,DATA_PROFILE,CACHED

## GLH 11/01/05 Added for bug 4713123.
## For CONNECTOR (and other objects) NamedConfiguration association.  Note ENDOF,OWBMETADATA means at the end of the MDL file.
SECONDPASS,[OWBAssoc_NamedConfiguration],ENDOF,OWBMETADATA,CACHED

## GLH 01/26/06 Added for bug 5000561.
## For LEVEL referenced Key for BindingDimensionKey association.
SECONDPASS,[OWBAssoc_BindingDimensionKey],>=,PLUGGABLE_MAPPING,CACHED

## GLH 01/26/06 Added for bug 5000561.
## For LEVEL referenced DBItem for BindingDimensionKeyAttribute association.
SECONDPASS,[OWBAssoc_BindingDimensionKeyAttribute],>=,PLUGGABLE_MAPPING,CACHED

## GLH 01/26/06 Added for bug 5000561.
## For LEVEL referenced Relation for BindingRelation association.
SECONDPASS,[OWBAssoc_BindingRelation],>=,PLUGGABLE_MAPPING,CACHED

## GLH 01/26/06 Added for bug 5000561.
## For LEVEL_ATTRIBUTE referenced DBItem for BindingAttribute association.
SECONDPASS,[OWBAssoc_BindingAttribute],>=,PLUGGABLE_MAPPING,CACHED

## GLH 03/10/06
## For SYSTEM_PARAMETER (CMPProcessActivityParameter) referenced Attribute or Argument for ParamOrArg association.
SECONDPASS,[OWBAssoc_ParamOrArg],ENDOF,PROCESS_FLOW_PACKAGE,CACHED

## GLH 03/17/06 Added for bug 5100090.
## For AGGSPECUSAGE (CMPAggSpecUsage) and DIMENSION_USE (CMPCubeDimReference) referenced Level for ReferencedLevel association.
SECONDPASS,[OWBAssoc_ReferencedLevel],>=,PLUGGABLE_MAPPING,CACHED

## GLH 03/17/06 Added for bug 5100090.
## For AGGSPECUSAGE (CMPAggSpecUsage) referenced Hierarchy for ReferencedHierarchy association.
SECONDPASS,[OWBAssoc_ReferencedHierarchy],>=,PLUGGABLE_MAPPING,CACHED

## GLH 03/17/06 Added for bug 5100090.
## For DIMENSION_USE (CMPCubeDimReference) referenced Dimension for ReferencedDimension association.
SECONDPASS,[OWBAssoc_ReferencedDimension],>=,PLUGGABLE_MAPPING,CACHED

## GLH 03/17/06 Added for bug 5100090.
## For DIMENSION_USE (CMPCubeDimReference) referenced Dimension Hierarchy for DefaultCalculatedHierarchy association.
SECONDPASS,[OWBAssoc_DefaultCalculatedHierarchy],>=,PLUGGABLE_MAPPING,CACHED

## GLH 03/17/06 Added for bug 5100090.
## For DIMENSION_USE (CMPCubeDimReference) referenced Dimension Role for ReferencedDimensionRole association.
SECONDPASS,[OWBAssoc_ReferencedDimensionRole],>=,PLUGGABLE_MAPPING,CACHED

## GLH 03/17/06 Added for bug 5100090.
## For DIMENSION_USE (CMPCubeDimReference) referenced Foreign Key for BindingForeignKey association.
SECONDPASS,[OWBAssoc_BindingForeignKey],>=,PLUGGABLE_MAPPING,CACHED

## GLH 03/17/06 Added for bug 5100090.
## For CUBEDEFAGGRMETHOD (CMPCubeDefAggrMethod) referenced Dimension Level Attribute for AssociatedLevelAttr association.
SECONDPASS,[OWBAssoc_AssociatedLevelAttr],>=,PLUGGABLE_MAPPING,CACHED

## GLH 03/17/06 Added for bug 5100090.
## For CUBE referenced Relation (Table) for BindingFact association.
SECONDPASS,[OWBAssoc_BindingFact],>=,PLUGGABLE_MAPPING,CACHED

## GLH 03/17/06 Added for bug 5100090.
## For CUBE referenced Dimension Hierarchy for PartitionHierarchy association.
SECONDPASS,[OWBAssoc_PartitionHierarchy],>=,PLUGGABLE_MAPPING,CACHED

## GLH 03/17/06 Added for bug 5100090.
## For CUBE referenced Dimension Level for PartitionLevel association.
SECONDPASS,[OWBAssoc_PartitionLevel],>=,PLUGGABLE_MAPPING,CACHED

## GLH 03/23/06 Added for bug 5114771.
## For DIMENSION referenced Sequence for DimensionKeySequence association.
SECONDPASS,[OWBAssoc_DimensionKeySequence],>=,PLUGGABLE_MAPPING,CACHED

## GLH 05/08/07 Added for bug 6037047.
## For WEAKASSOCIATION referenced element for AssociatedElement association.
SECONDPASS,[OWBAssoc_AssociatedElement],ENDOF,PROJECT,CACHED

## GLH 05/14/07 Added for Tahoe.
## For CMPMapExecutionUnit referenced Task Flow for ReferencingTaskFlow association.
SECONDPASS,[OWBAssoc_ReferencingTaskFlow],>=,COLLECTION,CACHED

## GLH 05/14/07 Added for Tahoe.
## For CMPMapExecutionUnitParameter referenced Task Flow Parameter for ReferencingParameter association.
SECONDPASS,[OWBAssoc_ReferencingParameter],>=,COLLECTION,CACHED

## GLH 08/24/07  Below are TEMPORARY until MDL file ordering fixed for Tahoe.
## For CMPPhysicalObject referenced Object for LogicalObject association. (TEMPORARY)
SECONDPASS,[OWBAssoc_LogicalObject],>=,COLLECTION,CACHED

## For EXTERNAL_TABLE referenced File for RefersTo association. (TEMPORARY)
SECONDPASS,[OWBAssoc_RefersTo],>=,PLUGGABLE_MAPPING,CACHED

## For EXTERNAL_TABLE_COLUMN referenced File Field for ExternalTableField association. (TEMPORARY)
SECONDPASS,[OWBAssoc_ExternalTableField],>=,PLUGGABLE_MAPPING,CACHED

## GLH 06/18/07 Added for repository upgrade.
## For USER referenced Location for DefaultLogicalLocation association.
SECONDPASS,[OWBAssoc_DefaultLogicalLocation],ENDOF,PROJECT,CACHED

## GLH 09/11/07 Added for Tahoe.
## For CMPKMExecUnit (SCO of Installed Module) referenced Task Flow for KmtaskFlow association.
SECONDPASS,[OWBAssoc_KmtaskFlow],>=,COLLECTION,CACHED

## GLH 09/11/07 Added for Tahoe.
## For CMPKMExecUnitParam (SCO of CMPKMExecUnit which is SCO of Installed Module) referenced Task Flow Process Activity Parameter for ProcessActivityParameter association.
SECONDPASS,[OWBAssoc_ProcessActivityParameter],>=,COLLECTION,CACHED

## GLH 10/18/07 Added for Tahoe.
## For CMPQueryAggregationLevel (SCO of ITEM_FOLDER/CMPQueryObject) referenced Drill Level for DrillLevel association.
SECONDPASS,[OWBAssoc_DrillLevel],ENDOF,BUSINESS_DEFINITION_MODULE,CACHED

## GLH 11/13/07 Added for Tahoe.
## For CMPPlatformMappingSet referenced Platform Type Set for ToPlatformTypeSet association.
SECONDPASS,[OWBAssoc_ToPlatformTypeSet],>=,CMI_DEFINITION,CACHED

## GLH 11/13/07 Added for Tahoe.
## For CMPPlatformMappingSet referenced Platform Type Set for FromPlatformTypeSet association.
SECONDPASS,[OWBAssoc_FromPlatformTypeSet],>=,CMI_DEFINITION,CACHED

## GLH 11/13/07 Added for Tahoe.
## For CMPTypeMapping referenced Data Type for ToDatatype association.
SECONDPASS,[OWBAssoc_ToDatatype],>=,CMI_DEFINITION,CACHED

## GLH 11/13/07 Added for Tahoe.
## For CMPTypeMapping referenced Data Type for FromDatatype association.
SECONDPASS,[OWBAssoc_FromDatatype],>=,CMI_DEFINITION,CACHED

## GLH 04/08/08 For MAPEXECUTIONUNITUSAGE referenced Mappable for Mappable association. (TEMPORARY)
SECONDPASS,[OWBAssoc_Mappable],>,MAPPING,CACHED

## GLH 05/09/08 Added for bug 6988419.
## For DIAGRAMNODE and DIAGRAMFOLDER referenced Map Operator or MAPEXECUTIONUNIT for ElementRef association.
SECONDPASS,[OWBAssoc_ElementRef],>,MAPPING,CACHED
