Skip to content

Commit

Permalink
regenerate legacy cmof
Browse files Browse the repository at this point in the history
  • Loading branch information
georghinkel committed Sep 13, 2024
1 parent 90f011e commit 99248fc
Show file tree
Hide file tree
Showing 96 changed files with 2,969 additions and 3,099 deletions.
26 changes: 7 additions & 19 deletions Interop/UMLInterop/Cmof20.nmeta
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<Annotations Source="http://www.eclipse.org/emf/2002/GenModel" Details="documentation=A classifier may only specialize classifiers of a valid type.&#xD;&#xA;self.parents()-&gt;forAll(c | self.maySpecializeType(c))" />
</Extensions>
</Operations>
<Operations IsUnique="true" LowerBound="1" Type="nmeta:PrimitiveType http://nmf.codeplex.com/nmeta/#//Boolean" Name="conformsTo" Summary="The query conformsTo() gives true for a classifier that defines a type that conforms to another. This is used, for example, in the specification of signature conformance for operations.&#xD;&#xA;result = (self=other) or (self.allParents()-&gt;includes(other))">
<Operations Refines="#//Type/conformsTo" IsUnique="true" LowerBound="1" Type="nmeta:PrimitiveType http://nmf.codeplex.com/nmeta/#//Boolean" Name="conformsTo" Summary="The query conformsTo() gives true for a classifier that defines a type that conforms to another. This is used, for example, in the specification of signature conformance for operations.&#xD;&#xA;result = (self=other) or (self.allParents()-&gt;includes(other))">
<Parameters IsUnique="true" LowerBound="1" Type="nmeta:Class #//Classifier" Name="other" />
<Extensions xsi:type="nmeta:AnnotationSet">
<Annotations Source="http://www.eclipse.org/emf/2002/GenModel" Details="documentation=The query conformsTo() gives true for a classifier that defines a type that conforms to another. This is used, for example, in the specification of signature conformance for operations.&#xD;&#xA;result = (self=other) or (self.allParents()-&gt;includes(other))" />
Expand Down Expand Up @@ -535,13 +535,13 @@
<Annotations Source="subsets" />
</Extensions>
</References>
<References IsContainment="true" Opposite="#//Package/nestingPackage" ReferenceType="nmeta:Class #//Package" Refines="#//Package/ownedMember" IsUnique="true" UpperBound="-1" Name="nestedPackage" Summary="References the owned members that are Packages. Subsets Package::ownedMember and redefines Basic::Package::nestedPackage.&#xD;&#xA;The set of contained packages.">
<References IsContainment="true" Opposite="#//Package/nestingPackage" ReferenceType="nmeta:Class #//Package" Refines="#//Package/ownedMember" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="nestedPackage" Summary="References the owned members that are Packages. Subsets Package::ownedMember and redefines Basic::Package::nestedPackage.&#xD;&#xA;The set of contained packages.">
<Extensions xsi:type="nmeta:AnnotationSet">
<Annotations Source="http://www.eclipse.org/emf/2002/GenModel" Details="documentation=References the owned members that are Packages. Subsets Package::ownedMember and redefines Basic::Package::nestedPackage.&#xD;&#xA;The set of contained packages." />
<Annotations Source="subsets" />
</Extensions>
</References>
<References IsContainment="true" Opposite="#//Type/package" ReferenceType="nmeta:Class #//Type" Refines="#//Package/ownedMember" IsUnique="true" UpperBound="-1" Name="ownedType" Summary="References the owned members that are Types. Subsets Package::ownedMember and redefines Basic::Package::ownedType.&#xD;&#xA;The set of contained types.">
<References IsContainment="true" Opposite="#//Type/package" ReferenceType="nmeta:Class #//Type" Refines="#//Package/ownedMember" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="ownedType" Summary="References the owned members that are Types. Subsets Package::ownedMember and redefines Basic::Package::ownedType.&#xD;&#xA;The set of contained types.">
<Extensions xsi:type="nmeta:AnnotationSet">
<Annotations Source="http://www.eclipse.org/emf/2002/GenModel" Details="documentation=References the owned members that are Types. Subsets Package::ownedMember and redefines Basic::Package::ownedType.&#xD;&#xA;The set of contained types." />
<Annotations Source="subsets" />
Expand Down Expand Up @@ -695,7 +695,7 @@
<Annotations Source="subsets" />
</Extensions>
</References>
<References IsContainment="true" ReferenceType="nmeta:Class #//Property" Refines="#//Association/ownedEnd" IsUnique="true" UpperBound="-1" Name="navigableOwnedEnd" Summary="The navigable ends that are owned by the association itself.">
<References IsContainment="true" ReferenceType="nmeta:Class #//Property" Refines="#//Association/ownedEnd" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="navigableOwnedEnd" Summary="The navigable ends that are owned by the association itself.">
<Extensions xsi:type="nmeta:AnnotationSet">
<Annotations Source="http://www.eclipse.org/emf/2002/GenModel" Details="documentation=The navigable ends that are owned by the association itself." />
<Annotations Source="subsets" />
Expand Down Expand Up @@ -745,17 +745,17 @@
<Annotations Source="subsets" />
</Extensions>
</References>
<References IsContainment="true" ReferenceType="nmeta:Class #//Constraint" Refines="#//Namespace/ownedRule" IsUnique="true" UpperBound="-1" Name="precondition">
<References IsContainment="true" ReferenceType="nmeta:Class #//Constraint" Refines="#//Namespace/ownedRule" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="precondition">
<Extensions xsi:type="nmeta:AnnotationSet">
<Annotations Source="subsets" />
</Extensions>
</References>
<References IsContainment="true" ReferenceType="nmeta:Class #//Constraint" Refines="#//Namespace/ownedRule" IsUnique="true" UpperBound="-1" Name="postcondition">
<References IsContainment="true" ReferenceType="nmeta:Class #//Constraint" Refines="#//Namespace/ownedRule" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="postcondition">
<Extensions xsi:type="nmeta:AnnotationSet">
<Annotations Source="subsets" />
</Extensions>
</References>
<References IsContainment="true" ReferenceType="nmeta:Class #//Constraint" Refines="#//Namespace/ownedRule" IsUnique="true" UpperBound="-1" Name="bodyCondition">
<References IsContainment="true" ReferenceType="nmeta:Class #//Constraint" Refines="#//Namespace/ownedRule" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="bodyCondition">
<Extensions xsi:type="nmeta:AnnotationSet">
<Annotations Source="subsets" />
</Extensions>
Expand Down Expand Up @@ -784,18 +784,6 @@
<Annotations Source="http://www.eclipse.org/emf/2002/GenModel" Details="documentation=An operation can have at most one return parameter; i.e., an owned parameter with the direction set to 'return'&#xD;&#xA;self.ownedParameter-&gt;select(par | par.direction = #return)-&gt;size() &lt;= 1" />
</Extensions>
</Operations>
<Operations IsUnique="true" LowerBound="1" Type="nmeta:PrimitiveType http://nmf.codeplex.com/nmeta/#//Boolean" Name="isOrdered" Summary="If this operation has a return parameter, isOrdered equals the value of isOrdered for that parameter. Otherwise isOrdered is false.&#xD;&#xA;result = if returnResult-&gt;size() = 1 then returnResult-&gt;any().isOrdered else false endif">
<Extensions xsi:type="nmeta:AnnotationSet">
<Annotations Source="http://www.eclipse.org/emf/2002/GenModel" Details="documentation=If this operation has a return parameter, isOrdered equals the value of isOrdered for that parameter. Otherwise isOrdered is false.&#xD;&#xA;result = if returnResult-&gt;size() = 1 then returnResult-&gt;any().isOrdered else false endif" />
<Annotations Source="http://www.eclipse.org/emf/2002/Ecore" Details="constraints=spec" />
</Extensions>
</Operations>
<Operations IsUnique="true" LowerBound="1" Type="nmeta:PrimitiveType http://nmf.codeplex.com/nmeta/#//Boolean" Name="isUnique" Summary="If this operation has a return parameter, isUnique equals the value of isUnique for that parameter. Otherwise isUnique is true.&#xD;&#xA;result = if returnResult-&gt;size() = 1 then returnResult-&gt;any().isUnique else true endif">
<Extensions xsi:type="nmeta:AnnotationSet">
<Annotations Source="http://www.eclipse.org/emf/2002/GenModel" Details="documentation=If this operation has a return parameter, isUnique equals the value of isUnique for that parameter. Otherwise isUnique is true.&#xD;&#xA;result = if returnResult-&gt;size() = 1 then returnResult-&gt;any().isUnique else true endif" />
<Annotations Source="http://www.eclipse.org/emf/2002/Ecore" Details="constraints=spec" />
</Extensions>
</Operations>
<Operations IsUnique="true" LowerBound="1" Type="nmeta:Class #//Type" Name="getType" Summary="If this operation has a return parameter, type equals the value of type for that parameter. Otherwise type is not defined.&#xD;&#xA;result = if returnResult-&gt;size() = 1 then returnResult-&gt;any().type else Set{} endif">
<Extensions xsi:type="nmeta:AnnotationSet">
<Annotations Source="http://www.eclipse.org/emf/2002/GenModel" Details="documentation=If this operation has a return parameter, type equals the value of type for that parameter. Otherwise type is not defined.&#xD;&#xA;result = if returnResult-&gt;size() = 1 then returnResult-&gt;any().type else Set{} endif" />
Expand Down
42 changes: 22 additions & 20 deletions Interop/UMLInterop/Legacy/Cmof20/Argument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,30 @@
// </auto-generated>
//------------------------------------------------------------------------------

using NMF.Collections.Generic;
using NMF.Collections.ObjectModel;
using NMF.Expressions;
using NMF.Expressions.Linq;
using NMF.Models;
using NMF.Models.Collections;
using NMF.Models.Expressions;
using NMF.Models.Meta;
using NMF.Models.Repository;
using NMF.Serialization;
using NMF.Utilities;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.Linq;


namespace NMF.Interop.Legacy.Cmof
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using NMF.Expressions;
using NMF.Expressions.Linq;
using NMF.Models;
using NMF.Models.Meta;
using NMF.Models.Collections;
using NMF.Models.Expressions;
using NMF.Collections.Generic;
using NMF.Collections.ObjectModel;
using NMF.Serialization;
using NMF.Utilities;
using System.Collections.Specialized;
using NMF.Models.Repository;
using System.Globalization;


/// <summary>
Expand Down
Loading

0 comments on commit 99248fc

Please sign in to comment.