All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.modeldriven.fuml.config.DefaultFumlConfig.xml Maven / Gradle / Ivy

Go to download

This open source software is a reference implementation, consisting of software and related files, for the OMG specification called the Semantics of a Foundational Subset for Executable UML Models (fUML). The reference implementation is intended to implement the execution semantics of UML activity models, accepting an XMI file from a conformant UML model as its input and providing an execution trace of the selected activity model(s) as its output. The core execution engine, which is directly generated from the normative syntactic and semantic models for fUML, may also be used as a library implementation of fUML in other software.

There is a newer version: 1.5.0a
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<cfg:Configuration  
  xmlns:cfg="http://www.modeldriven.org/fuml/config">
  
  <ImportConfiguration>
  
    <!-- supported namespaces -->
    <SupportedNamespace domain="xmi" uri="http://schema.omg.org/spec/XMI/2.1" />
    <SupportedNamespace domain="xmi" uri="http://www.omg.org/spec/XMI/20110701" /> <!-- XMI 2.4.1 -->
    <SupportedNamespace domain="xmi" uri="http://www.omg.org/spec/XMI/20131001" /> <!-- XMI 2.5 -->
    
    <SupportedNamespace domain="uml" uri="http://www.eclipse.org/uml2/2.0.0/UML" />
    <SupportedNamespace domain="uml" uri="http://www.eclipse.org/uml2/2.1.0/UML" />
    <SupportedNamespace domain="uml" uri="http://www.eclipse.org/uml2/4.0.0/UML" />
    <SupportedNamespace domain="uml" uri="http://www.eclipse.org/uml2/5.0.0/UML" />           
    <SupportedNamespace domain="uml" uri="http://schema.omg.org/spec/UML/2.1.1" />
    <SupportedNamespace domain="uml" uri="http://schema.omg.org/spec/UML/2.1.2" /> 
    <SupportedNamespace domain="uml" uri="http://schema.omg.org/spec/UML/2.2" />   
    <SupportedNamespace domain="uml" uri="http://www.omg.org/spec/UML/20090901" /> <!-- UML 2.3 -->    
    <SupportedNamespace domain="uml" uri="http://www.omg.org/spec/UML/20110701" /> <!-- UML 2.4.1 -->    
    <SupportedNamespace domain="uml" uri="http://www.omg.org/spec/UML/20131001" /> <!-- UML 2.5 -->    
    
    <SupportedNamespace domain="ecore" uri="http://www.eclipse.org/emf/2002/Ecore" />
    <SupportedNamespace domain="magicdraw" uri="http:///schemas/MagicDrawProfile/_eFzsIKxbEd2Kp9hnZinLyQ/0" />
    <SupportedNamespace domain="magicdraw" uri="http:///schemas/MagicDrawProfile/_GIVXUJo8Ed2jetuWwvgiOQ/0" />
    <SupportedNamespace domain="magicdraw" uri="http:///schemas/MagicDrawProfile/_CBbZgLKVEd6YC-l_D9264g/0" />
    <SupportedNamespace domain="magicdraw" uri="http://www.magicdraw.com/schemas/MagicDraw_Profile.xmi" />
    <SupportedNamespace domain="magicdraw" uri="http://www.omg.org/spec/UML/20110701/MagicDrawProfile" />
    <SupportedNamespace domain="magicdraw" uri="http://www.omg.org/spec/UML/20131001/MagicDrawProfile" />

  
    <!-- ignored elements -->
    <Exemption type="element" localName="Extension" domain="xmi" />    
    <Exemption type="element" localName="Documentation" domain="xmi" />    
    <Exemption type="element" localName="DiagramInfo" domain="magicdraw" />    
    <Exemption type="element" localName="auxiliaryResource" domain="magicdraw" />    
    <Exemption type="element" localName="packageImport" domain="uml" />
    <Exemption type="element" localName="profileApplication" domain="uml" />
    <Exemption type="element" localName="eAnnotations" domain="uml" />    
    <Exemption type="element" localName="ownedRule" domain="uml" />  <!-- fUML does not support UML Constraint currently  -->  

    <!-- adapters -->
    <Adapter type="assembly" className="OpaqueExpression" adapterClassName="org.modeldriven.fuml.assembly.adapter.OpaqueExpressionAdapter"/>    
    <Adapter type="assembly" className="Profile" adapterClassName="org.modeldriven.fuml.assembly.adapter.ProfileAdapter"/>    
    
    <ExtensionPackage name="org.modeldriven.fuml.repository.ext"/>
 
  </ImportConfiguration>
  
  <ValidationConfiguration>
    <!-- Do not validate properties required by UML spec(s) which 
         MagicDraw (erroneously) does not ever generate --> 
    <Exemption type="requiredProperty" domain="uml" classifierName="Extension" propertyName="endType"/>    
    <Exemption type="requiredProperty" domain="uml" classifierName="Extension" propertyName="metaclass"/>    
    <Exemption type="requiredProperty" domain="uml" classifierName="Extension" propertyName="relatedElement"/>    
    <Exemption type="requiredProperty" domain="uml" classifierName="Association" propertyName="endType"/>    

    <Exemption type="requiredProperty" domain="uml" classifierName="Slot" propertyName="owningInstance"/>
    
    <!-- fUML Property (superclass of ExtensionEnd) does not support aggregation attribute -->
    <Exemption type="undefinedProperty" domain="uml" classifierName="ExtensionEnd" propertyName="aggregation"/>    
    
    <!-- Properties not defined in fUML but defined in UML and generated by many UML tools  -->
    <Exemption type="undefinedProperty" domain="uml" classifierName="InputPin" propertyName="upperBound"/>    
    <Exemption type="undefinedProperty" domain="uml" classifierName="InputPin" propertyName="ordering"/>    
    <Exemption type="undefinedProperty" domain="uml" classifierName="OutputPin" propertyName="upperBound"/>    
    <Exemption type="undefinedProperty" domain="uml" classifierName="OutputPin" propertyName="ordering"/>    
    <Exemption type="undefinedProperty" domain="uml" classifierName="CallOperationAction" propertyName="upperBound"/>    
    <Exemption type="undefinedProperty" domain="uml" classifierName="ActivityParameterNode" propertyName="upperBound"/>    
    <Exemption type="undefinedProperty" domain="uml" classifierName="ObjectFlow" propertyName="weight"/>    
    <Exemption type="undefinedProperty" domain="uml" classifierName="ExtensionEnd" propertyName="upperValue"/>    
    <Exemption type="undefinedProperty" domain="uml" classifierName="ExtensionEnd" propertyName="lowerValue"/>    
    <Exemption type="undefinedProperty" domain="uml" classifierName="JoinNode" propertyName="joinSpec"/>    
    <Exemption type="undefinedProperty" domain="uml" classifierName="ControlFlow" propertyName="weight"/>    
    
    <!-- MagicDraw adds a package href to its own profile on every edit/save even though likely not used --> 
    <Exemption type="externalReference" domain="uml" classifierName="Package" 
        href="UML_Standard_Profile.xml#magicdraw_uml_standard_profile_v_0001"/>    
    
    
  </ValidationConfiguration>
  
  <MappingConfiguration>
    <ReferenceMapping type="parent" className="Generalization" propertyName="specific"/>   
    
    <BehaviorExecutionMapping className="FoundationalModelLibrary.BasicInputOutput.StandardInputChannel" executionClassName="org.modeldriven.fuml.library.channel.StandardInputChannelObject"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.BasicInputOutput.StandardOutputChannel" executionClassName="org.modeldriven.fuml.library.channel.StandardOutputChannelObject"/>

    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.Div" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerDivFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions./" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerDivideFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.*" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerTimesFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.-" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerMinusFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.+" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerPlusFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.Neg" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerNegateFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.Max" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerMaxFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.Min" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerMinFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.Mod" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerModFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.Abs" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerAbsFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.ToInteger" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerToIntegerFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.ToString" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerToStringFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.ToUnlimitedNatural" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerToUnlimitedNaturalFunctionBehaviorExecution"/>

    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.&lt;" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerLessThanFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.&lt;=" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerLessThanEqualFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.&gt;" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerGreaterThanFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.IntegerFunctions.&gt;=" executionClassName="org.modeldriven.fuml.library.integerfunctions.IntegerGreaterThanEqualFunctionBehaviorExecution"/>

    <BehaviorExecutionMapping className="FoundationalModelLibrary.BasicInputOutput.StandardInputChannel" executionClassName="org.modeldriven.fuml.library.channel.StandardInputChannelObject"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.BasicInputOutput.StandardOutputChannel" executionClassName="org.modeldriven.fuml.library.channel.StandardOutputChannelObject"/>

    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions./" executionClassName="org.modeldriven.fuml.library.realfunctions.RealDivideFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.*" executionClassName="org.modeldriven.fuml.library.realfunctions.RealTimesFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.-" executionClassName="org.modeldriven.fuml.library.realfunctions.RealMinusFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.+" executionClassName="org.modeldriven.fuml.library.realfunctions.RealPlusFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.Neg" executionClassName="org.modeldriven.fuml.library.realfunctions.RealNegateFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.Inv" executionClassName="org.modeldriven.fuml.library.realfunctions.RealInverseFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.Max" executionClassName="org.modeldriven.fuml.library.realfunctions.RealMaxFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.Min" executionClassName="org.modeldriven.fuml.library.realfunctions.RealMinFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.Floor" executionClassName="org.modeldriven.fuml.library.realfunctions.RealFloorFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.Round" executionClassName="org.modeldriven.fuml.library.realfunctions.RealRoundFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.Abs" executionClassName="org.modeldriven.fuml.library.realfunctions.RealAbsFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.ToReal" executionClassName="org.modeldriven.fuml.library.realfunctions.RealToRealFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.ToString" executionClassName="org.modeldriven.fuml.library.realfunctions.RealToStringFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.ToInteger" executionClassName="org.modeldriven.fuml.library.realfunctions.RealToIntegerFunctionBehaviorExecution"/>

    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.&lt;" executionClassName="org.modeldriven.fuml.library.realfunctions.RealLessThanFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.&lt;=" executionClassName="org.modeldriven.fuml.library.realfunctions.RealLessThanEqualFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.&gt;" executionClassName="org.modeldriven.fuml.library.realfunctions.RealGreaterThanFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.RealFunctions.&gt;=" executionClassName="org.modeldriven.fuml.library.realfunctions.RealGreaterThanEqualFunctionBehaviorExecution"/>

    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.BooleanFunctions.ToBoolean" executionClassName="org.modeldriven.fuml.library.booleanfunctions.BooleanToBooleanFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.BooleanFunctions.ToString" executionClassName="org.modeldriven.fuml.library.booleanfunctions.BooleanToStringFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.BooleanFunctions.Or" executionClassName="org.modeldriven.fuml.library.booleanfunctions.BooleanOrFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.BooleanFunctions.Xor" executionClassName="org.modeldriven.fuml.library.booleanfunctions.BooleanXorFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.BooleanFunctions.And" executionClassName="org.modeldriven.fuml.library.booleanfunctions.BooleanAndFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.BooleanFunctions.Not" executionClassName="org.modeldriven.fuml.library.booleanfunctions.BooleanNotFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.BooleanFunctions.Implies" executionClassName="org.modeldriven.fuml.library.booleanfunctions.BooleanImpliesFunctionBehaviorExecution"/>

    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.StringFunctions.Size" executionClassName="org.modeldriven.fuml.library.stringfunctions.StringSizeFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.StringFunctions.Concat" executionClassName="org.modeldriven.fuml.library.stringfunctions.StringConcatFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.StringFunctions.Substring" executionClassName="org.modeldriven.fuml.library.stringfunctions.StringSubstringFunctionBehaviorExecution"/>

    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.UnlimitedNaturalFunctions.&lt;" executionClassName="org.modeldriven.fuml.library.unlimitednaturalfunctions.UnlimitedNaturalLessThanFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.UnlimitedNaturalFunctions.&lt;=" executionClassName="org.modeldriven.fuml.library.unlimitednaturalfunctions.UnlimitedNaturalLessThanEqualFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.UnlimitedNaturalFunctions.Max" executionClassName="org.modeldriven.fuml.library.unlimitednaturalfunctions.UnlimitedNaturalMaxFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.UnlimitedNaturalFunctions.Min" executionClassName="org.modeldriven.fuml.library.unlimitednaturalfunctions.UnlimitedNaturalMinFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.UnlimitedNaturalFunctions.&gt;" executionClassName="org.modeldriven.fuml.library.unlimitednaturalfunctions.UnlimitedNaturalGreaterThanFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.UnlimitedNaturalFunctions.&gt;=" executionClassName="org.modeldriven.fuml.library.unlimitednaturalfunctions.UnlimitedNaturalGreaterThanEqualFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.UnlimitedNaturalFunctions.ToUnlimitedNatural" executionClassName="org.modeldriven.fuml.library.unlimitednaturalfunctions.UnlimitedNaturalToUnlimitedNaturalFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.UnlimitedNaturalFunctions.ToString" executionClassName="org.modeldriven.fuml.library.unlimitednaturalfunctions.UnlimitedNaturalToStringFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.UnlimitedNaturalFunctions.ToInteger" executionClassName="org.modeldriven.fuml.library.unlimitednaturalfunctions.UnlimitedNaturalToIntegerFunctionBehaviorExecution"/>

    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.ListFunctions.ListGet" executionClassName="org.modeldriven.fuml.library.listfunctions.ListGetFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.ListFunctions.ListSize" executionClassName="org.modeldriven.fuml.library.listfunctions.ListSizeFunctionBehaviorExecution"/>
    <BehaviorExecutionMapping className="FoundationalModelLibrary.PrimitiveBehaviors.ListFunctions.ListConcat" executionClassName="org.modeldriven.fuml.library.listfunctions.ListConcatFunctionBehaviorExecution"/>

  </MappingConfiguration>

  <LibraryConfiguration>
    <LibraryImport name="fUML_Library.xmi" urn="fUML_Library.xmi" delimiter="#"/>
  </LibraryConfiguration>
  
</cfg:Configuration>   




© 2015 - 2024 Weber Informatics LLC | Privacy Policy