-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Move] Ecore expected output to dedicated folder
[Add] uml files [Add] eml based Enum codegenerator
- Loading branch information
1 parent
1c96cc8
commit 6b480b2
Showing
114 changed files
with
50,143 additions
and
17,938 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xmi:XMI xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:uml="http://www.omg.org/spec/UML/20161101" xmlns:mofext="http://www.omg.org/spec/MOF/20131001"> | ||
<uml:Package xmi:type="uml:Package" xmi:id="_0" name="PrimitiveTypes" URI="http://www.omg.org/spec/PrimitiveTypes/20161101"> | ||
<packagedElement xmi:type="uml:PrimitiveType" xmi:id="Boolean" name="Boolean"> | ||
<ownedComment xmi:type="uml:Comment" xmi:id="Boolean-_ownedComment.0" annotatedElement="Boolean"> | ||
<body>Boolean is used for logical expressions, consisting of the predefined values true and false.</body> | ||
</ownedComment> | ||
</packagedElement> | ||
<packagedElement xmi:type="uml:PrimitiveType" xmi:id="Integer" name="Integer"> | ||
<ownedComment xmi:type="uml:Comment" xmi:id="Integer-_ownedComment.0" annotatedElement="Integer"> | ||
<body>Integer is a primitive type representing integer values.</body> | ||
</ownedComment> | ||
</packagedElement> | ||
<packagedElement xmi:type="uml:PrimitiveType" xmi:id="Real" name="Real"> | ||
<ownedComment xmi:type="uml:Comment" xmi:id="Real-_ownedComment.0" annotatedElement="Real"> | ||
<body>Real is a primitive type representing the mathematical concept of real.</body> | ||
</ownedComment> | ||
</packagedElement> | ||
<packagedElement xmi:type="uml:PrimitiveType" xmi:id="String" name="String"> | ||
<ownedComment xmi:type="uml:Comment" xmi:id="String-_ownedComment.0" annotatedElement="String"> | ||
<body>String is a sequence of characters in some suitable character set used to display information about the model. Character sets may include non-Roman alphabets and characters.</body> | ||
</ownedComment> | ||
</packagedElement> | ||
<packagedElement xmi:type="uml:PrimitiveType" xmi:id="UnlimitedNatural" name="UnlimitedNatural"> | ||
<ownedComment xmi:type="uml:Comment" xmi:id="UnlimitedNatural-_ownedComment.0" annotatedElement="UnlimitedNatural"> | ||
<body>UnlimitedNatural is a primitive type representing unlimited natural values.</body> | ||
</ownedComment> | ||
</packagedElement> | ||
</uml:Package> | ||
<mofext:Tag xmi:type="mofext:Tag" xmi:id="_1" name="org.omg.xmi.nsPrefix" value="primitives" element="_0"/> | ||
<mofext:Tag xmi:type="mofext:Tag" xmi:id="_2" name="org.omg.xmi.schemaType" value="http://www.w3.org/2001/XMLSchema#boolean" element="Boolean"/> | ||
<mofext:Tag xmi:type="mofext:Tag" xmi:id="_3" name="org.omg.xmi.schemaType" value="http://www.w3.org/2001/XMLSchema#integer" element="Integer"/> | ||
<mofext:Tag xmi:type="mofext:Tag" xmi:id="_4" name="org.omg.xmi.schemaType" value="http://www.w3.org/2001/XMLSchema#double" element="Real"/> | ||
<mofext:Tag xmi:type="mofext:Tag" xmi:id="_5" name="org.omg.xmi.schemaType" value="http://www.w3.org/2001/XMLSchema#string" element="String"/> | ||
<mofext:Tag xmi:type="mofext:Tag" xmi:id="_6" name="org.omg.xmi.schemaType" value="http://www.w3.org/2001/XMLSchema#string" element="UnlimitedNatural"/> | ||
</xmi:XMI> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
502 changes: 251 additions & 251 deletions
502
.../Expected/AutGenPoco/AnnotatingElement.cs → ...Core/Core/AutGenPoco/AnnotatingElement.cs
Large diffs are not rendered by default.
Oops, something went wrong.
600 changes: 300 additions & 300 deletions
600
...r.Tests/Expected/AutGenPoco/Annotation.cs → ...ected/ECore/Core/AutGenPoco/Annotation.cs
Large diffs are not rendered by default.
Oops, something went wrong.
516 changes: 258 additions & 258 deletions
516
...ator.Tests/Expected/AutGenPoco/Comment.cs → ...Expected/ECore/Core/AutGenPoco/Comment.cs
Large diffs are not rendered by default.
Oops, something went wrong.
1,602 changes: 801 additions & 801 deletions
1,602
...or.Tests/Expected/AutGenPoco/Connector.cs → ...pected/ECore/Core/AutGenPoco/Connector.cs
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
538 changes: 269 additions & 269 deletions
538
...r.Tests/Expected/AutGenPoco/Dependency.cs → ...ected/ECore/Core/AutGenPoco/Dependency.cs
Large diffs are not rendered by default.
Oops, something went wrong.
1,604 changes: 802 additions & 802 deletions
1,604
...ator.Tests/Expected/AutGenPoco/Feature.cs → ...Expected/ECore/Core/AutGenPoco/Feature.cs
Large diffs are not rendered by default.
Oops, something went wrong.
148 changes: 74 additions & 74 deletions
148
...Expected/AutGenPoco/IAnnotatingElement.cs → ...ore/Core/AutGenPoco/IAnnotatingElement.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,74 @@ | ||
// ------------------------------------------------------------------------------------------------- | ||
// <copyright file="IAnnotatingElement.cs" company="Starion Group S.A."> | ||
// | ||
// Copyright 2022-2025 Starion Group S.A. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// </copyright> | ||
// ------------------------------------------------------------------------------------------------ | ||
|
||
// ------------------------------------------------------------------------------------------------ | ||
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- | ||
// ------------------------------------------------------------------------------------------------ | ||
|
||
namespace SysML2.NET.Core.POCO | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
using SysML2.NET.Core; | ||
using SysML2.NET.Decorators; | ||
|
||
/// <summary> | ||
/// An AnnotatingElement is an Element that provides additional description of or metadata on some other | ||
/// Element. An AnnotatingElement is either attached to its annotatedElements by Annotation | ||
/// Relationships, or it implicitly annotates its owningNamespace.annotatedElement = if | ||
/// annotation->notEmpty() then annotation.annotatedElement else Sequence{owningNamespace} | ||
/// endifownedAnnotatingRelationship = ownedRelationship-> selectByKind(Annotation)-> select(a | | ||
/// a.annotatingElement = self)annotation = if owningAnnotatingRelationship = null then | ||
/// ownedAnnotatingRelationship else | ||
/// owningAnnotatingRelationship->prepend(owningAnnotatingRelationship) endif | ||
/// </summary> | ||
public partial interface IAnnotatingElement : IElement | ||
{ | ||
/// <summary> | ||
/// Queries the derived property AnnotatedElement | ||
/// </summary> | ||
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: -1, isMany: false, isRequired: false, isContainment: false)] | ||
List<IElement> QueryAnnotatedElement(); | ||
|
||
/// <summary> | ||
/// Queries the derived property Annotation | ||
/// </summary> | ||
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)] | ||
List<Annotation> QueryAnnotation(); | ||
|
||
/// <summary> | ||
/// Queries the derived property OwnedAnnotatingRelationship | ||
/// </summary> | ||
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)] | ||
List<Annotation> QueryOwnedAnnotatingRelationship(); | ||
|
||
/// <summary> | ||
/// Queries the derived property OwningAnnotatingRelationship | ||
/// </summary> | ||
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] | ||
Annotation QueryOwningAnnotatingRelationship(); | ||
|
||
} | ||
} | ||
|
||
// ------------------------------------------------------------------------------------------------ | ||
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- | ||
// ------------------------------------------------------------------------------------------------ | ||
// ------------------------------------------------------------------------------------------------- | ||
// <copyright file="IAnnotatingElement.cs" company="Starion Group S.A."> | ||
// | ||
// Copyright 2022-2025 Starion Group S.A. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// </copyright> | ||
// ------------------------------------------------------------------------------------------------ | ||
|
||
// ------------------------------------------------------------------------------------------------ | ||
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- | ||
// ------------------------------------------------------------------------------------------------ | ||
|
||
namespace SysML2.NET.Core.POCO | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
using SysML2.NET.Core; | ||
using SysML2.NET.Decorators; | ||
|
||
/// <summary> | ||
/// An AnnotatingElement is an Element that provides additional description of or metadata on some other | ||
/// Element. An AnnotatingElement is either attached to its annotatedElements by Annotation | ||
/// Relationships, or it implicitly annotates its owningNamespace.annotatedElement = if | ||
/// annotation->notEmpty() then annotation.annotatedElement else Sequence{owningNamespace} | ||
/// endifownedAnnotatingRelationship = ownedRelationship-> selectByKind(Annotation)-> select(a | | ||
/// a.annotatingElement = self)annotation = if owningAnnotatingRelationship = null then | ||
/// ownedAnnotatingRelationship else | ||
/// owningAnnotatingRelationship->prepend(owningAnnotatingRelationship) endif | ||
/// </summary> | ||
public partial interface IAnnotatingElement : IElement | ||
{ | ||
/// <summary> | ||
/// Queries the derived property AnnotatedElement | ||
/// </summary> | ||
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: -1, isMany: false, isRequired: false, isContainment: false)] | ||
List<IElement> QueryAnnotatedElement(); | ||
|
||
/// <summary> | ||
/// Queries the derived property Annotation | ||
/// </summary> | ||
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)] | ||
List<Annotation> QueryAnnotation(); | ||
|
||
/// <summary> | ||
/// Queries the derived property OwnedAnnotatingRelationship | ||
/// </summary> | ||
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)] | ||
List<Annotation> QueryOwnedAnnotatingRelationship(); | ||
|
||
/// <summary> | ||
/// Queries the derived property OwningAnnotatingRelationship | ||
/// </summary> | ||
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] | ||
Annotation QueryOwningAnnotatingRelationship(); | ||
|
||
} | ||
} | ||
|
||
// ------------------------------------------------------------------------------------------------ | ||
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- | ||
// ------------------------------------------------------------------------------------------------ |
Oops, something went wrong.