<owb:definition xmlns:owb="http://www.oracle.com/owb/">
    
    <!-- start and end here refer to percent boundaries for status reporting 
         use line number as the weighting for the inner split.
         The percentage is relative to current file, starting from 0 to 100.
         To change InstalledVersion and all other data, go to file 
         SeedData.xml. 
    -->

    <!-- Use this class to lookup classes -->
    <owb:instruction owb:ClassLocator="oracle.wh.repos.impl.seed.SeedUtils"/>

    <!-- Schema definition for Meta-Meta-Model. Manually maintained -->
    <owb:instruction owb:include="model.xml" adapter="oracle.wh.util.parser.adapter.DefaultAdapter" start="0" end="1"/>
   
    <owb:instruction owb:include="MMMModel.xml" start="1" end="3"/>

    <!-- Definition for core properties for core classes. Generated from Rose -->
    <owb:instruction owb:include="CoreDef.xml" start="3" end="28"/>

    <!-- Fix to some of the core classes. Manually maintained -->
    <owb:instruction owb:include="CustomCoreDef.xml" start="28" end="29"/>

    <!-- Predefinition of some classes and types. Not used now. Merged into ExtendedDef.xml -->
    <!-- <owb:instruction owb:include="Predefined.xml" start="42" end="44"/> -->

    <!-- Configuration and logical property/class definitions. Generated by Brian -->
    <owb:instruction owb:include="ExtendedDef.xml" adapter="oracle.wh.util.parser.adapter.DefaultAdapter" start="29" end="67"/>
    <!-- Manual fix-ups to conform to Xiaoge's new way of type matching for
         isAssignableFrom.
         These should move to their respective definition files once we are no
         longer converting from the old property system.
    -->
    <ClassDefinition 
        persistent="true"
        name="oracle.wh.repos.impl.relational.CMPIndexColumn">
        <ArrayProperty 
            persistent="true"
            name="CompatibleTypes"
            type="stringArrayType">
            <PrimitiveProperty 
                persistent="true"
                type="stringType"
                Position="0" 
                ValueByString="oracle.wh.repos.impl.items.CMPRelationalDBItem"
            />        
        </ArrayProperty>
    </ClassDefinition>

    <ClassDefinition
        persistent="true"    
        name="oracle.wh.repos.impl.relational.CMPPartitionKey">
        <ArrayProperty
            persistent="true"
            name="CompatibleTypes"
            type="stringArrayType">
            <PrimitiveProperty 
                persistent="true"
                type="stringType"
                Position="0" 
                ValueByString="oracle.wh.repos.impl.items.CMPRelationalDBItem"
            />
        </ArrayProperty>
    </ClassDefinition>

    <ClassDefinition
        persistent="true"
        name="oracle.wh.repos.impl.dimensional.ShadowTableUsage">
        <ArrayProperty 
            persistent="true"
            name="CompatibleTypes"
            type="stringArrayType">
            <PrimitiveProperty 
                persistent="true"
                type="stringType"
                Position="0" 
                ValueByString="oracle.wh.repos.impl.relational.CMPWBTable"
            />
        </ArrayProperty>
    </ClassDefinition>
    
         
<!--
    <owb:instruction owb:include="definitions/81b2.xml" adapter="oracle.wh.repos.impl.seed.adapter.ConfigAdapter" start="34" end="55"/> 
    <owb:instruction owb:include="definitions/location.xml" adapter="oracle.wh.repos.impl.seed.adapter.ConfigAdapter" start="55" end="59"/>
    <owb:instruction owb:include="definitions/ProcessFlowOWFOEMb2.xml" adapter="oracle.wh.repos.impl.seed.adapter.ConfigAdapter" start="59" end="64"/>
    <owb:instruction owb:include="definitions/Discoverer.xml" adapter="oracle.wh.repos.impl.seed.adapter.ConfigAdapter" start="64" end="68"/>
    <owb:instruction owb:include="definitions/BIBeans.xml" adapter="oracle.wh.repos.impl.seed.adapter.ConfigAdapter" start="68" end="72"/>

    <owb:classes xmlns:owb="http://www.oracle.com/owb">
        <owb:class name="RunResult" ref="oracle.wh.repos.impl.seed.RunResult"/>
        <owb:class name="MappingDefinitions" ref="oracle.wh.repos.impl.seed.MappingDefinitions">
            <method name="getInstance" type="MappingDefinitions">
                <exception name="CMPException"/>
            </method>
            <method name="process" type="RunResult">
                <exception name="CMPException"/>
            </method>
        </owb:class>
    </owb:classes>

    <MappingDefinitions owb:InternalName="MapDefinitionsDef">
        <owb:instantiate owb:class="MappingDefinitions" owb:method="getInstance"/>
    </MappingDefinitions>

    <RunResult>
        <owb:instantiate owb:object="MapDefinitionsDef" owb:method="process"/>
    </RunResult>
-->
    <!-- Public API Meta-Meta-Model definition. Manually maintained -->
    <owb:instruction owb:include="PublicAPIDef.xml" start="67" end="68"/>

    <!-- Definition for UI on classes, such as icons -->
    <owb:instruction owb:include="UIDef.xml" adapter="oracle.wh.util.parser.adapter.DefaultAdapter" start="69" end="73"/>

    <!-- Definition for intra, inter aggregate children retrieve functions. -->
    <!-- Performance purpose only. As these methods can be calculated by associations.
    <owb:instruction owb:include="MethodsDef.xml" start="77" end="79"/>
    -->

    <!-- Using Meta-Meta-Model as the schema for the seeding data. Object seedtool is defined in file model.xml -->
    <owb:instruction owb:registerSchema="seedtool" name="MMM Schema"/>

    <!-- Set InstalledVersion in file SeedData.xml. Also other data -->
    <owb:instruction owb:include="SeedData.xml" adapter="oracle.wh.util.parser.adapter.DefaultAdapter" start="74" end="100"/>

</owb:definition>
