diff --git a/SysML2.NET.CodeGenerator.Tests/DataModelLoaderTestFixture.cs b/SysML2.NET.CodeGenerator.Tests/DataModelLoaderTestFixture.cs
deleted file mode 100644
index 95028c710..000000000
--- a/SysML2.NET.CodeGenerator.Tests/DataModelLoaderTestFixture.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-// -------------------------------------------------------------------------------------------------
-//
-//
-// 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.
-//
-//
-// ------------------------------------------------------------------------------------------------
-
-namespace SysML2.NET.CodeGenerator.Tests
-{
- using System;
- using System.Linq;
-
- using ECoreNetto;
-
- using NUnit.Framework;
-
- using SysML2.NET.CodeGenerator;
-
- ///
- /// Suite of tests for the class.
- ///
- [TestFixture]
- public class DataModelLoaderTestFixture
- {
- [Test]
- public void Verify_that_the_expected_SysML2_model_is_returned()
- {
- var ePacakge = DataModelLoader.Load();
-
- Assert.That(ePacakge, Is.Not.Null);
-
- var classes = ePacakge.EClassifiers.OfType();
-
- var rootClass = classes.Single(x => x.ESuperTypes.Count == 0);
-
- Assert.That(rootClass.Name, Is.EqualTo("Element"));
-
- foreach (var eClass in classes)
- {
- Console.WriteLine(eClass.Name);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/AnnotatingElement.cs b/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/AnnotatingElement.cs
deleted file mode 100644
index 1c35b1dc0..000000000
--- a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/AnnotatingElement.cs
+++ /dev/null
@@ -1,251 +0,0 @@
-// -------------------------------------------------------------------------------------------------
-//
-//
-// 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.
-//
-//
-// ------------------------------------------------------------------------------------------------
-
-// ------------------------------------------------------------------------------------------------
-// --------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;
-
- ///
- /// 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.annotatedElement <> self)annotation = if owningAnnotatingRelationship = null then
- /// ownedAnnotatingRelationship else
- /// owningAnnotatingRelationship->prepend(owningAnnotatingRelationship) endif
- ///
- public partial class AnnotatingElement : IAnnotatingElement
- {
- ///
- /// Initializes a new instance of the class.
- ///
- public AnnotatingElement()
- {
- this.AliasIds = new List();
- this.IsImpliedIncluded = false;
- this.OwnedRelationship = new List();
- }
-
- ///
- /// Gets or sets the unique identifier
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Guid Id { get; set; }
-
- ///
- /// Various alternative identifiers for this Element. Generally, these will be set by tools.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List AliasIds { get; set; }
-
- ///
- /// Queries the derived property AnnotatedElement
- ///
- [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)]
- public List QueryAnnotatedElement()
- {
- throw new NotImplementedException("Derived property AnnotatedElement not yet supported");
- }
-
- ///
- /// Queries the derived property Annotation
- ///
- [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)]
- public List QueryAnnotation()
- {
- throw new NotImplementedException("Derived property Annotation not yet supported");
- }
-
- ///
- /// The declared name of this Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredName { get; set; }
-
- ///
- /// An optional alternative name for the Element that is intended to be shorter or in some way more
- /// succinct than its primary name. It may act as a modeler-specified identifier for the Element, though
- /// it is then the responsibility of the modeler to maintain the uniqueness of this identifier within a
- /// model or relative to some other context.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredShortName { get; set; }
-
- ///
- /// Queries the derived property Documentation
- ///
- [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)]
- public List QueryDocumentation()
- {
- throw new NotImplementedException("Derived property Documentation not yet supported");
- }
-
- ///
- /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must
- /// not change during the lifetime of the Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string ElementId { get; set; }
-
- ///
- /// Whether all necessary implied Relationships have been included in the ownedRelationships of this
- /// Element. This property may be true, even if there are not actually any ownedRelationships with
- /// isImplied = true, meaning that no such Relationships are actually implied for this Element. However,
- /// if it is false, then ownedRelationships may not contain any implied Relationships. That is, either
- /// all required implied Relationships must be included, or none of them.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsImpliedIncluded { get; set; }
-
- ///
- /// Queries the derived property IsLibraryElement
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsLibraryElement()
- {
- throw new NotImplementedException("Derived property IsLibraryElement not yet supported");
- }
-
- ///
- /// Queries the derived property Name
- ///
- [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)]
- public string QueryName()
- {
- throw new NotImplementedException("Derived property Name not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAnnotatingRelationship
- ///
- [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)]
- public List QueryOwnedAnnotatingRelationship()
- {
- throw new NotImplementedException("Derived property OwnedAnnotatingRelationship not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAnnotation
- ///
- [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)]
- public List QueryOwnedAnnotation()
- {
- throw new NotImplementedException("Derived property OwnedAnnotation not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedElement
- ///
- [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)]
- public List QueryOwnedElement()
- {
- throw new NotImplementedException("Derived property OwnedElement not yet supported");
- }
-
- ///
- /// The Relationships for which this Element is the owningRelatedElement.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: true)]
- public List OwnedRelationship { get; set; }
-
- ///
- /// Queries the derived property Owner
- ///
- [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)]
- public IElement QueryOwner()
- {
- throw new NotImplementedException("Derived property Owner not yet supported");
- }
-
- ///
- /// Queries the derived property OwningAnnotatingRelationship
- ///
- [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)]
- public Annotation QueryOwningAnnotatingRelationship()
- {
- throw new NotImplementedException("Derived property OwningAnnotatingRelationship not yet supported");
- }
-
- ///
- /// Queries the derived property OwningMembership
- ///
- [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)]
- public OwningMembership QueryOwningMembership()
- {
- throw new NotImplementedException("Derived property OwningMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwningNamespace
- ///
- [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)]
- public Namespace QueryOwningNamespace()
- {
- throw new NotImplementedException("Derived property OwningNamespace not yet supported");
- }
-
- ///
- /// The Relationship for which this Element is an ownedRelatedElement, if any.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public IRelationship OwningRelationship { get; set; }
-
- ///
- /// Queries the derived property QualifiedName
- ///
- [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)]
- public string QueryQualifiedName()
- {
- throw new NotImplementedException("Derived property QualifiedName not yet supported");
- }
-
- ///
- /// Queries the derived property ShortName
- ///
- [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)]
- public string QueryShortName()
- {
- throw new NotImplementedException("Derived property ShortName not yet supported");
- }
-
- ///
- /// Queries the derived property TextualRepresentation
- ///
- [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)]
- public List QueryTextualRepresentation()
- {
- throw new NotImplementedException("Derived property TextualRepresentation not yet supported");
- }
-
- }
-}
-
-// ------------------------------------------------------------------------------------------------
-// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
-// ------------------------------------------------------------------------------------------------
diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Association.cs b/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Association.cs
deleted file mode 100644
index 8d30d100b..000000000
--- a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Association.cs
+++ /dev/null
@@ -1,578 +0,0 @@
-// -------------------------------------------------------------------------------------------------
-//
-//
-// 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.
-//
-//
-// ------------------------------------------------------------------------------------------------
-
-// ------------------------------------------------------------------------------------------------
-// --------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;
-
- ///
- /// An Association is a Relationship and a Classifier to enable classification of links between things
- /// (in the universe). The co-domains (types) of the associationEnd Features are the relatedTypes, as
- /// co-domain and participants (linked things) of an Association identify each other.relatedType =
- /// associationEnd.typespecializesFromLibrary('Links::Link')oclIsKindOf(Structure) =
- /// oclIsKindOf(AssociationStructure)associationEnd->size() = 2 implies
- /// specializesFromLibrary('Links::BinaryLink')not isAbstract implies relatedType->size() >=
- /// 2associationEnds->size() > 2 implies not specializesFromLibrary('Links::BinaryLink')sourceType =
- /// if relatedType->isEmpty() then null else relatedType->first() endiftargetType = if
- /// relatedType->size() < 2 then OrderedSet{} else relatedType-> subSequence(2,
- /// relatedType->size())-> asOrderedSet() endifownedEndFeature->forAll(type->size() = 1)
- ///
- public partial class Association : IAssociation
- {
- ///
- /// Initializes a new instance of the class.
- ///
- public Association()
- {
- this.AliasIds = new List();
- this.IsAbstract = false;
- this.IsImplied = false;
- this.IsImpliedIncluded = false;
- this.IsSufficient = false;
- this.OwnedRelatedElement = new List();
- this.OwnedRelationship = new List();
- this.Source = new List();
- this.Target = new List();
- }
-
- ///
- /// Gets or sets the unique identifier
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Guid Id { get; set; }
-
- ///
- /// Various alternative identifiers for this Element. Generally, these will be set by tools.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List AliasIds { get; set; }
-
- ///
- /// Queries the derived property AssociationEnd
- ///
- [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)]
- public List QueryAssociationEnd()
- {
- throw new NotImplementedException("Derived property AssociationEnd not yet supported");
- }
-
- ///
- /// The declared name of this Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredName { get; set; }
-
- ///
- /// An optional alternative name for the Element that is intended to be shorter or in some way more
- /// succinct than its primary name. It may act as a modeler-specified identifier for the Element, though
- /// it is then the responsibility of the modeler to maintain the uniqueness of this identifier within a
- /// model or relative to some other context.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredShortName { get; set; }
-
- ///
- /// Queries the derived property DifferencingType
- ///
- [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)]
- public List QueryDifferencingType()
- {
- throw new NotImplementedException("Derived property DifferencingType not yet supported");
- }
-
- ///
- /// Queries the derived property DirectedFeature
- ///
- [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)]
- public List QueryDirectedFeature()
- {
- throw new NotImplementedException("Derived property DirectedFeature not yet supported");
- }
-
- ///
- /// Queries the derived property Documentation
- ///
- [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)]
- public List QueryDocumentation()
- {
- throw new NotImplementedException("Derived property Documentation not yet supported");
- }
-
- ///
- /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must
- /// not change during the lifetime of the Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string ElementId { get; set; }
-
- ///
- /// Queries the derived property EndFeature
- ///
- [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)]
- public List QueryEndFeature()
- {
- throw new NotImplementedException("Derived property EndFeature not yet supported");
- }
-
- ///
- /// Queries the derived property Feature
- ///
- [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)]
- public List QueryFeature()
- {
- throw new NotImplementedException("Derived property Feature not yet supported");
- }
-
- ///
- /// Queries the derived property FeatureMembership
- ///
- [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)]
- public List QueryFeatureMembership()
- {
- throw new NotImplementedException("Derived property FeatureMembership not yet supported");
- }
-
- ///
- /// Queries the derived property ImportedMembership
- ///
- [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)]
- public List QueryImportedMembership()
- {
- throw new NotImplementedException("Derived property ImportedMembership not yet supported");
- }
-
- ///
- /// Queries the derived property InheritedFeature
- ///
- [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)]
- public List QueryInheritedFeature()
- {
- throw new NotImplementedException("Derived property InheritedFeature not yet supported");
- }
-
- ///
- /// Queries the derived property InheritedMembership
- ///
- [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)]
- public List QueryInheritedMembership()
- {
- throw new NotImplementedException("Derived property InheritedMembership not yet supported");
- }
-
- ///
- /// Queries the derived property Input
- ///
- [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)]
- public List QueryInput()
- {
- throw new NotImplementedException("Derived property Input not yet supported");
- }
-
- ///
- /// Queries the derived property IntersectingType
- ///
- [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)]
- public List QueryIntersectingType()
- {
- throw new NotImplementedException("Derived property IntersectingType not yet supported");
- }
-
- ///
- /// Indicates whether instances of this Type must also be instances of at least one of its specialized
- /// Types.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsAbstract { get; set; }
-
- ///
- /// Queries the derived property IsConjugated
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsConjugated()
- {
- throw new NotImplementedException("Derived property IsConjugated not yet supported");
- }
-
- ///
- /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being
- /// directly created by a modeler.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsImplied { get; set; }
-
- ///
- /// Whether all necessary implied Relationships have been included in the ownedRelationships of this
- /// Element. This property may be true, even if there are not actually any ownedRelationships with
- /// isImplied = true, meaning that no such Relationships are actually implied for this Element. However,
- /// if it is false, then ownedRelationships may not contain any implied Relationships. That is, either
- /// all required implied Relationships must be included, or none of them.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsImpliedIncluded { get; set; }
-
- ///
- /// Queries the derived property IsLibraryElement
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsLibraryElement()
- {
- throw new NotImplementedException("Derived property IsLibraryElement not yet supported");
- }
-
- ///
- /// Whether all things that meet the classification conditions of this Type must be classified by the
- /// Type.(A Type gives conditions that must be met by whatever it classifies, but when isSufficient
- /// is false, things may meet those conditions but still not be classified by the Type. For example, a
- /// Type Car that is not sufficient could require everything it classifies to have four wheels, but not
- /// all four wheeled things would classify as cars. However, if the Type Car were sufficient, it would
- /// classify all four-wheeled things.)
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsSufficient { get; set; }
-
- ///
- /// Queries the derived property Member
- ///
- [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)]
- public List QueryMember()
- {
- throw new NotImplementedException("Derived property Member not yet supported");
- }
-
- ///
- /// Queries the derived property Membership
- ///
- [EFeature(isChangeable: false, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryMembership()
- {
- throw new NotImplementedException("Derived property Membership not yet supported");
- }
-
- ///
- /// Queries the derived property Multiplicity
- ///
- [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)]
- public Multiplicity QueryMultiplicity()
- {
- throw new NotImplementedException("Derived property Multiplicity not yet supported");
- }
-
- ///
- /// Queries the derived property Name
- ///
- [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)]
- public string QueryName()
- {
- throw new NotImplementedException("Derived property Name not yet supported");
- }
-
- ///
- /// Queries the derived property Output
- ///
- [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)]
- public List QueryOutput()
- {
- throw new NotImplementedException("Derived property Output not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAnnotation
- ///
- [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)]
- public List QueryOwnedAnnotation()
- {
- throw new NotImplementedException("Derived property OwnedAnnotation not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedConjugator
- ///
- [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)]
- public Conjugation QueryOwnedConjugator()
- {
- throw new NotImplementedException("Derived property OwnedConjugator not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedDifferencing
- ///
- [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)]
- public List QueryOwnedDifferencing()
- {
- throw new NotImplementedException("Derived property OwnedDifferencing not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedDisjoining
- ///
- [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)]
- public List QueryOwnedDisjoining()
- {
- throw new NotImplementedException("Derived property OwnedDisjoining not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedElement
- ///
- [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)]
- public List QueryOwnedElement()
- {
- throw new NotImplementedException("Derived property OwnedElement not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedEndFeature
- ///
- [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)]
- public List QueryOwnedEndFeature()
- {
- throw new NotImplementedException("Derived property OwnedEndFeature not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeature
- ///
- [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)]
- public List QueryOwnedFeature()
- {
- throw new NotImplementedException("Derived property OwnedFeature not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeatureMembership
- ///
- [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)]
- public List QueryOwnedFeatureMembership()
- {
- throw new NotImplementedException("Derived property OwnedFeatureMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedImport
- ///
- [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)]
- public List QueryOwnedImport()
- {
- throw new NotImplementedException("Derived property OwnedImport not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedIntersecting
- ///
- [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)]
- public List QueryOwnedIntersecting()
- {
- throw new NotImplementedException("Derived property OwnedIntersecting not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedMember
- ///
- [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)]
- public List QueryOwnedMember()
- {
- throw new NotImplementedException("Derived property OwnedMember not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedMembership
- ///
- [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)]
- public List QueryOwnedMembership()
- {
- throw new NotImplementedException("Derived property OwnedMembership not yet supported");
- }
-
- ///
- /// The relatedElements of this Relationship that are owned by the Relationship.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: true)]
- public List OwnedRelatedElement { get; set; }
-
- ///
- /// The Relationships for which this Element is the owningRelatedElement.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: true)]
- public List OwnedRelationship { get; set; }
-
- ///
- /// Queries the derived property OwnedSpecialization
- ///
- [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)]
- public List QueryOwnedSpecialization()
- {
- throw new NotImplementedException("Derived property OwnedSpecialization not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedSubclassification
- ///
- [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)]
- public List QueryOwnedSubclassification()
- {
- throw new NotImplementedException("Derived property OwnedSubclassification not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedUnioning
- ///
- [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)]
- public List QueryOwnedUnioning()
- {
- throw new NotImplementedException("Derived property OwnedUnioning not yet supported");
- }
-
- ///
- /// Queries the derived property Owner
- ///
- [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)]
- public IElement QueryOwner()
- {
- throw new NotImplementedException("Derived property Owner not yet supported");
- }
-
- ///
- /// Queries the derived property OwningMembership
- ///
- [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)]
- public OwningMembership QueryOwningMembership()
- {
- throw new NotImplementedException("Derived property OwningMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwningNamespace
- ///
- [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)]
- public Namespace QueryOwningNamespace()
- {
- throw new NotImplementedException("Derived property OwningNamespace not yet supported");
- }
-
- ///
- /// The relatedElement of this Relationship that owns the Relationship, if any.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public IElement OwningRelatedElement { get; set; }
-
- ///
- /// The Relationship for which this Element is an ownedRelatedElement, if any.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public IRelationship OwningRelationship { get; set; }
-
- ///
- /// Queries the derived property QualifiedName
- ///
- [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)]
- public string QueryQualifiedName()
- {
- throw new NotImplementedException("Derived property QualifiedName not yet supported");
- }
-
- ///
- /// Queries the derived property RelatedElement
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: false, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryRelatedElement()
- {
- throw new NotImplementedException("Derived property RelatedElement not yet supported");
- }
-
- ///
- /// Queries the derived property RelatedType
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: false, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryRelatedType()
- {
- throw new NotImplementedException("Derived property RelatedType not yet supported");
- }
-
- ///
- /// Queries the derived property ShortName
- ///
- [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)]
- public string QueryShortName()
- {
- throw new NotImplementedException("Derived property ShortName not yet supported");
- }
-
- ///
- /// The relatedElements from which this Relationship is considered to be directed.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List Source { get; set; }
-
- ///
- /// Queries the derived property SourceType
- ///
- [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)]
- public Type QuerySourceType()
- {
- throw new NotImplementedException("Derived property SourceType not yet supported");
- }
-
- ///
- /// The relatedElements to which this Relationship is considered to be directed.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List Target { get; set; }
-
- ///
- /// Queries the derived property TargetType
- ///
- [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)]
- public List QueryTargetType()
- {
- throw new NotImplementedException("Derived property TargetType not yet supported");
- }
-
- ///
- /// Queries the derived property TextualRepresentation
- ///
- [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)]
- public List QueryTextualRepresentation()
- {
- throw new NotImplementedException("Derived property TextualRepresentation not yet supported");
- }
-
- ///
- /// Queries the derived property UnioningType
- ///
- [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)]
- public List QueryUnioningType()
- {
- throw new NotImplementedException("Derived property UnioningType not yet supported");
- }
-
- }
-}
-
-// ------------------------------------------------------------------------------------------------
-// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
-// ------------------------------------------------------------------------------------------------
diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Dependency.cs b/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Dependency.cs
deleted file mode 100644
index 9a0df23d0..000000000
--- a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Dependency.cs
+++ /dev/null
@@ -1,269 +0,0 @@
-// -------------------------------------------------------------------------------------------------
-//
-//
-// 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.
-//
-//
-// ------------------------------------------------------------------------------------------------
-
-// ------------------------------------------------------------------------------------------------
-// --------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;
-
- ///
- /// A Dependency is a Relationship that indicates that one or more client Elements require one more
- /// supplier Elements for their complete specification. In general, this means that a change to one of
- /// the supplier Elements may necessitate a change to, or re-specification of, the client Elements.Note
- /// that a Dependency is entirely a model-level Relationship, without instance-level semantics.
- ///
- public partial class Dependency : IDependency
- {
- ///
- /// Initializes a new instance of the class.
- ///
- public Dependency()
- {
- this.AliasIds = new List();
- this.Client = new List();
- this.IsImplied = false;
- this.IsImpliedIncluded = false;
- this.OwnedRelatedElement = new List();
- this.OwnedRelationship = new List();
- this.Source = new List();
- this.Supplier = new List();
- this.Target = new List();
- }
-
- ///
- /// Gets or sets the unique identifier
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Guid Id { get; set; }
-
- ///
- /// Various alternative identifiers for this Element. Generally, these will be set by tools.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List AliasIds { get; set; }
-
- ///
- /// The Element or Elements dependent on the supplier Elements.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List Client { get; set; }
-
- ///
- /// The declared name of this Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredName { get; set; }
-
- ///
- /// An optional alternative name for the Element that is intended to be shorter or in some way more
- /// succinct than its primary name. It may act as a modeler-specified identifier for the Element, though
- /// it is then the responsibility of the modeler to maintain the uniqueness of this identifier within a
- /// model or relative to some other context.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredShortName { get; set; }
-
- ///
- /// Queries the derived property Documentation
- ///
- [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)]
- public List QueryDocumentation()
- {
- throw new NotImplementedException("Derived property Documentation not yet supported");
- }
-
- ///
- /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must
- /// not change during the lifetime of the Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string ElementId { get; set; }
-
- ///
- /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being
- /// directly created by a modeler.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsImplied { get; set; }
-
- ///
- /// Whether all necessary implied Relationships have been included in the ownedRelationships of this
- /// Element. This property may be true, even if there are not actually any ownedRelationships with
- /// isImplied = true, meaning that no such Relationships are actually implied for this Element. However,
- /// if it is false, then ownedRelationships may not contain any implied Relationships. That is, either
- /// all required implied Relationships must be included, or none of them.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsImpliedIncluded { get; set; }
-
- ///
- /// Queries the derived property IsLibraryElement
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsLibraryElement()
- {
- throw new NotImplementedException("Derived property IsLibraryElement not yet supported");
- }
-
- ///
- /// Queries the derived property Name
- ///
- [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)]
- public string QueryName()
- {
- throw new NotImplementedException("Derived property Name not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAnnotation
- ///
- [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)]
- public List QueryOwnedAnnotation()
- {
- throw new NotImplementedException("Derived property OwnedAnnotation not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedElement
- ///
- [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)]
- public List QueryOwnedElement()
- {
- throw new NotImplementedException("Derived property OwnedElement not yet supported");
- }
-
- ///
- /// The relatedElements of this Relationship that are owned by the Relationship.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: true)]
- public List OwnedRelatedElement { get; set; }
-
- ///
- /// The Relationships for which this Element is the owningRelatedElement.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: true)]
- public List OwnedRelationship { get; set; }
-
- ///
- /// Queries the derived property Owner
- ///
- [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)]
- public IElement QueryOwner()
- {
- throw new NotImplementedException("Derived property Owner not yet supported");
- }
-
- ///
- /// Queries the derived property OwningMembership
- ///
- [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)]
- public OwningMembership QueryOwningMembership()
- {
- throw new NotImplementedException("Derived property OwningMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwningNamespace
- ///
- [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)]
- public Namespace QueryOwningNamespace()
- {
- throw new NotImplementedException("Derived property OwningNamespace not yet supported");
- }
-
- ///
- /// The relatedElement of this Relationship that owns the Relationship, if any.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public IElement OwningRelatedElement { get; set; }
-
- ///
- /// The Relationship for which this Element is an ownedRelatedElement, if any.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public IRelationship OwningRelationship { get; set; }
-
- ///
- /// Queries the derived property QualifiedName
- ///
- [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)]
- public string QueryQualifiedName()
- {
- throw new NotImplementedException("Derived property QualifiedName not yet supported");
- }
-
- ///
- /// Queries the derived property RelatedElement
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: false, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryRelatedElement()
- {
- throw new NotImplementedException("Derived property RelatedElement not yet supported");
- }
-
- ///
- /// Queries the derived property ShortName
- ///
- [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)]
- public string QueryShortName()
- {
- throw new NotImplementedException("Derived property ShortName not yet supported");
- }
-
- ///
- /// The relatedElements from which this Relationship is considered to be directed.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List Source { get; set; }
-
- ///
- /// The Element or Elements on which the client Elements depend in some respect.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List Supplier { get; set; }
-
- ///
- /// The relatedElements to which this Relationship is considered to be directed.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List Target { get; set; }
-
- ///
- /// Queries the derived property TextualRepresentation
- ///
- [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)]
- public List QueryTextualRepresentation()
- {
- throw new NotImplementedException("Derived property TextualRepresentation not yet supported");
- }
-
- }
-}
-
-// ------------------------------------------------------------------------------------------------
-// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
-// ------------------------------------------------------------------------------------------------
diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/EnumerationDefinition.cs b/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/EnumerationDefinition.cs
deleted file mode 100644
index af649f29c..000000000
--- a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/EnumerationDefinition.cs
+++ /dev/null
@@ -1,786 +0,0 @@
-// -------------------------------------------------------------------------------------------------
-//
-//
-// 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.
-//
-//
-// ------------------------------------------------------------------------------------------------
-
-// ------------------------------------------------------------------------------------------------
-// --------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;
-
- ///
- /// An EnumerationDefinition is an AttributeDefinition all of whose instances are given by an explicit
- /// list of enumeratedValues. This is realized by requiring that the EnumerationDefinition have
- /// isVariation = true, with the enumeratedValues being its variants. isVariation
- ///
- public partial class EnumerationDefinition : IEnumerationDefinition
- {
- ///
- /// Initializes a new instance of the class.
- ///
- public EnumerationDefinition()
- {
- this.AliasIds = new List();
- this.IsAbstract = false;
- this.IsImpliedIncluded = false;
- this.IsSufficient = false;
- this.OwnedRelationship = new List();
- }
-
- ///
- /// Gets or sets the unique identifier
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Guid Id { get; set; }
-
- ///
- /// Various alternative identifiers for this Element. Generally, these will be set by tools.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List AliasIds { get; set; }
-
- ///
- /// The declared name of this Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredName { get; set; }
-
- ///
- /// An optional alternative name for the Element that is intended to be shorter or in some way more
- /// succinct than its primary name. It may act as a modeler-specified identifier for the Element, though
- /// it is then the responsibility of the modeler to maintain the uniqueness of this identifier within a
- /// model or relative to some other context.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredShortName { get; set; }
-
- ///
- /// Queries the derived property DifferencingType
- ///
- [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)]
- public List QueryDifferencingType()
- {
- throw new NotImplementedException("Derived property DifferencingType not yet supported");
- }
-
- ///
- /// Queries the derived property DirectedFeature
- ///
- [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)]
- public List QueryDirectedFeature()
- {
- throw new NotImplementedException("Derived property DirectedFeature not yet supported");
- }
-
- ///
- /// Queries the derived property DirectedUsage
- ///
- [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)]
- public List QueryDirectedUsage()
- {
- throw new NotImplementedException("Derived property DirectedUsage not yet supported");
- }
-
- ///
- /// Queries the derived property Documentation
- ///
- [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)]
- public List QueryDocumentation()
- {
- throw new NotImplementedException("Derived property Documentation not yet supported");
- }
-
- ///
- /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must
- /// not change during the lifetime of the Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string ElementId { get; set; }
-
- ///
- /// Queries the derived property EndFeature
- ///
- [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)]
- public List QueryEndFeature()
- {
- throw new NotImplementedException("Derived property EndFeature not yet supported");
- }
-
- ///
- /// Queries the derived property EnumeratedValue
- ///
- [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)]
- public List QueryEnumeratedValue()
- {
- throw new NotImplementedException("Derived property EnumeratedValue not yet supported");
- }
-
- ///
- /// Queries the derived property Feature
- ///
- [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)]
- public List QueryFeature()
- {
- throw new NotImplementedException("Derived property Feature not yet supported");
- }
-
- ///
- /// Queries the derived property FeatureMembership
- ///
- [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)]
- public List QueryFeatureMembership()
- {
- throw new NotImplementedException("Derived property FeatureMembership not yet supported");
- }
-
- ///
- /// Queries the derived property ImportedMembership
- ///
- [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)]
- public List QueryImportedMembership()
- {
- throw new NotImplementedException("Derived property ImportedMembership not yet supported");
- }
-
- ///
- /// Queries the derived property InheritedFeature
- ///
- [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)]
- public List QueryInheritedFeature()
- {
- throw new NotImplementedException("Derived property InheritedFeature not yet supported");
- }
-
- ///
- /// Queries the derived property InheritedMembership
- ///
- [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)]
- public List QueryInheritedMembership()
- {
- throw new NotImplementedException("Derived property InheritedMembership not yet supported");
- }
-
- ///
- /// Queries the derived property Input
- ///
- [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)]
- public List QueryInput()
- {
- throw new NotImplementedException("Derived property Input not yet supported");
- }
-
- ///
- /// Queries the derived property IntersectingType
- ///
- [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)]
- public List QueryIntersectingType()
- {
- throw new NotImplementedException("Derived property IntersectingType not yet supported");
- }
-
- ///
- /// Indicates whether instances of this Type must also be instances of at least one of its specialized
- /// Types.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsAbstract { get; set; }
-
- ///
- /// Queries the derived property IsConjugated
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsConjugated()
- {
- throw new NotImplementedException("Derived property IsConjugated not yet supported");
- }
-
- ///
- /// Whether all necessary implied Relationships have been included in the ownedRelationships of this
- /// Element. This property may be true, even if there are not actually any ownedRelationships with
- /// isImplied = true, meaning that no such Relationships are actually implied for this Element. However,
- /// if it is false, then ownedRelationships may not contain any implied Relationships. That is, either
- /// all required implied Relationships must be included, or none of them.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsImpliedIncluded { get; set; }
-
- ///
- /// Queries the derived property IsLibraryElement
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsLibraryElement()
- {
- throw new NotImplementedException("Derived property IsLibraryElement not yet supported");
- }
-
- ///
- /// Whether all things that meet the classification conditions of this Type must be classified by the
- /// Type.(A Type gives conditions that must be met by whatever it classifies, but when isSufficient
- /// is false, things may meet those conditions but still not be classified by the Type. For example, a
- /// Type Car that is not sufficient could require everything it classifies to have four wheels, but not
- /// all four wheeled things would classify as cars. However, if the Type Car were sufficient, it would
- /// classify all four-wheeled things.)
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsSufficient { get; set; }
-
- ///
- /// Whether this Definition is for a variation point or not. If true, then all the memberships of the
- /// Definition must be VariantMemberships.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsVariation { get; set; }
-
- ///
- /// Queries the derived property Member
- ///
- [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)]
- public List QueryMember()
- {
- throw new NotImplementedException("Derived property Member not yet supported");
- }
-
- ///
- /// Queries the derived property Membership
- ///
- [EFeature(isChangeable: false, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryMembership()
- {
- throw new NotImplementedException("Derived property Membership not yet supported");
- }
-
- ///
- /// Queries the derived property Multiplicity
- ///
- [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)]
- public Multiplicity QueryMultiplicity()
- {
- throw new NotImplementedException("Derived property Multiplicity not yet supported");
- }
-
- ///
- /// Queries the derived property Name
- ///
- [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)]
- public string QueryName()
- {
- throw new NotImplementedException("Derived property Name not yet supported");
- }
-
- ///
- /// Queries the derived property Output
- ///
- [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)]
- public List QueryOutput()
- {
- throw new NotImplementedException("Derived property Output not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAction
- ///
- [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)]
- public List QueryOwnedAction()
- {
- throw new NotImplementedException("Derived property OwnedAction not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAllocation
- ///
- [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)]
- public List QueryOwnedAllocation()
- {
- throw new NotImplementedException("Derived property OwnedAllocation not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAnalysisCase
- ///
- [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)]
- public List QueryOwnedAnalysisCase()
- {
- throw new NotImplementedException("Derived property OwnedAnalysisCase not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAnnotation
- ///
- [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)]
- public List QueryOwnedAnnotation()
- {
- throw new NotImplementedException("Derived property OwnedAnnotation not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAttribute
- ///
- [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)]
- public List QueryOwnedAttribute()
- {
- throw new NotImplementedException("Derived property OwnedAttribute not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedCalculation
- ///
- [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)]
- public List QueryOwnedCalculation()
- {
- throw new NotImplementedException("Derived property OwnedCalculation not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedCase
- ///
- [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)]
- public List QueryOwnedCase()
- {
- throw new NotImplementedException("Derived property OwnedCase not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedConcern
- ///
- [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)]
- public List QueryOwnedConcern()
- {
- throw new NotImplementedException("Derived property OwnedConcern not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedConjugator
- ///
- [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)]
- public Conjugation QueryOwnedConjugator()
- {
- throw new NotImplementedException("Derived property OwnedConjugator not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedConnection
- ///
- [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)]
- public List QueryOwnedConnection()
- {
- throw new NotImplementedException("Derived property OwnedConnection not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedConstraint
- ///
- [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)]
- public List QueryOwnedConstraint()
- {
- throw new NotImplementedException("Derived property OwnedConstraint not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedDifferencing
- ///
- [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)]
- public List QueryOwnedDifferencing()
- {
- throw new NotImplementedException("Derived property OwnedDifferencing not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedDisjoining
- ///
- [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)]
- public List QueryOwnedDisjoining()
- {
- throw new NotImplementedException("Derived property OwnedDisjoining not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedElement
- ///
- [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)]
- public List QueryOwnedElement()
- {
- throw new NotImplementedException("Derived property OwnedElement not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedEndFeature
- ///
- [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)]
- public List QueryOwnedEndFeature()
- {
- throw new NotImplementedException("Derived property OwnedEndFeature not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedEnumeration
- ///
- [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)]
- public List QueryOwnedEnumeration()
- {
- throw new NotImplementedException("Derived property OwnedEnumeration not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeature
- ///
- [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)]
- public List QueryOwnedFeature()
- {
- throw new NotImplementedException("Derived property OwnedFeature not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeatureMembership
- ///
- [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)]
- public List QueryOwnedFeatureMembership()
- {
- throw new NotImplementedException("Derived property OwnedFeatureMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFlow
- ///
- [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)]
- public List QueryOwnedFlow()
- {
- throw new NotImplementedException("Derived property OwnedFlow not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedImport
- ///
- [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)]
- public List QueryOwnedImport()
- {
- throw new NotImplementedException("Derived property OwnedImport not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedInterface
- ///
- [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)]
- public List QueryOwnedInterface()
- {
- throw new NotImplementedException("Derived property OwnedInterface not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedIntersecting
- ///
- [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)]
- public List QueryOwnedIntersecting()
- {
- throw new NotImplementedException("Derived property OwnedIntersecting not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedItem
- ///
- [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)]
- public List QueryOwnedItem()
- {
- throw new NotImplementedException("Derived property OwnedItem not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedMember
- ///
- [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)]
- public List QueryOwnedMember()
- {
- throw new NotImplementedException("Derived property OwnedMember not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedMembership
- ///
- [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)]
- public List QueryOwnedMembership()
- {
- throw new NotImplementedException("Derived property OwnedMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedMetadata
- ///
- [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)]
- public List QueryOwnedMetadata()
- {
- throw new NotImplementedException("Derived property OwnedMetadata not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedOccurrence
- ///
- [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)]
- public List QueryOwnedOccurrence()
- {
- throw new NotImplementedException("Derived property OwnedOccurrence not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedPart
- ///
- [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)]
- public List QueryOwnedPart()
- {
- throw new NotImplementedException("Derived property OwnedPart not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedPort
- ///
- [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)]
- public List QueryOwnedPort()
- {
- throw new NotImplementedException("Derived property OwnedPort not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedReference
- ///
- [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)]
- public List QueryOwnedReference()
- {
- throw new NotImplementedException("Derived property OwnedReference not yet supported");
- }
-
- ///
- /// The Relationships for which this Element is the owningRelatedElement.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: true)]
- public List OwnedRelationship { get; set; }
-
- ///
- /// Queries the derived property OwnedRendering
- ///
- [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)]
- public List QueryOwnedRendering()
- {
- throw new NotImplementedException("Derived property OwnedRendering not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedRequirement
- ///
- [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)]
- public List QueryOwnedRequirement()
- {
- throw new NotImplementedException("Derived property OwnedRequirement not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedSpecialization
- ///
- [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)]
- public List QueryOwnedSpecialization()
- {
- throw new NotImplementedException("Derived property OwnedSpecialization not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedState
- ///
- [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)]
- public List QueryOwnedState()
- {
- throw new NotImplementedException("Derived property OwnedState not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedSubclassification
- ///
- [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)]
- public List QueryOwnedSubclassification()
- {
- throw new NotImplementedException("Derived property OwnedSubclassification not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedTransition
- ///
- [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)]
- public List QueryOwnedTransition()
- {
- throw new NotImplementedException("Derived property OwnedTransition not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedUnioning
- ///
- [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)]
- public List QueryOwnedUnioning()
- {
- throw new NotImplementedException("Derived property OwnedUnioning not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedUsage
- ///
- [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)]
- public List QueryOwnedUsage()
- {
- throw new NotImplementedException("Derived property OwnedUsage not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedUseCase
- ///
- [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)]
- public List QueryOwnedUseCase()
- {
- throw new NotImplementedException("Derived property OwnedUseCase not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedVerificationCase
- ///
- [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)]
- public List QueryOwnedVerificationCase()
- {
- throw new NotImplementedException("Derived property OwnedVerificationCase not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedView
- ///
- [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)]
- public List QueryOwnedView()
- {
- throw new NotImplementedException("Derived property OwnedView not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedViewpoint
- ///
- [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)]
- public List QueryOwnedViewpoint()
- {
- throw new NotImplementedException("Derived property OwnedViewpoint not yet supported");
- }
-
- ///
- /// Queries the derived property Owner
- ///
- [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)]
- public IElement QueryOwner()
- {
- throw new NotImplementedException("Derived property Owner not yet supported");
- }
-
- ///
- /// Queries the derived property OwningMembership
- ///
- [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)]
- public OwningMembership QueryOwningMembership()
- {
- throw new NotImplementedException("Derived property OwningMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwningNamespace
- ///
- [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)]
- public Namespace QueryOwningNamespace()
- {
- throw new NotImplementedException("Derived property OwningNamespace not yet supported");
- }
-
- ///
- /// The Relationship for which this Element is an ownedRelatedElement, if any.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public IRelationship OwningRelationship { get; set; }
-
- ///
- /// Queries the derived property QualifiedName
- ///
- [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)]
- public string QueryQualifiedName()
- {
- throw new NotImplementedException("Derived property QualifiedName not yet supported");
- }
-
- ///
- /// Queries the derived property ShortName
- ///
- [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)]
- public string QueryShortName()
- {
- throw new NotImplementedException("Derived property ShortName not yet supported");
- }
-
- ///
- /// Queries the derived property TextualRepresentation
- ///
- [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)]
- public List QueryTextualRepresentation()
- {
- throw new NotImplementedException("Derived property TextualRepresentation not yet supported");
- }
-
- ///
- /// Queries the derived property UnioningType
- ///
- [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)]
- public List QueryUnioningType()
- {
- throw new NotImplementedException("Derived property UnioningType not yet supported");
- }
-
- ///
- /// Queries the derived property Usage
- ///
- [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)]
- public List QueryUsage()
- {
- throw new NotImplementedException("Derived property Usage not yet supported");
- }
-
- ///
- /// Queries the derived property Variant
- ///
- [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)]
- public List QueryVariant()
- {
- throw new NotImplementedException("Derived property Variant not yet supported");
- }
-
- ///
- /// Queries the derived property VariantMembership
- ///
- [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)]
- public List QueryVariantMembership()
- {
- throw new NotImplementedException("Derived property VariantMembership not yet supported");
- }
-
- }
-}
-
-// ------------------------------------------------------------------------------------------------
-// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
-// ------------------------------------------------------------------------------------------------
diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Feature.cs b/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Feature.cs
deleted file mode 100644
index 37f56d3f2..000000000
--- a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Feature.cs
+++ /dev/null
@@ -1,815 +0,0 @@
-// -------------------------------------------------------------------------------------------------
-//
-//
-// 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.
-//
-//
-// ------------------------------------------------------------------------------------------------
-
-// ------------------------------------------------------------------------------------------------
-// --------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;
-
- ///
- /// A Feature is a Type that classifies relations between multiple things (in the universe). The domain
- /// of the relation is the intersection of the featuringTypes of the Feature. (The domain of a Feature
- /// with no featuringTyps is implicitly the most general Type Base::Anything from the Kernel Semantic
- /// Library.) The co-domain of the relation is the intersection of the types of the Feature.In the
- /// simplest cases, the featuringTypes and types are Classifiers and the Feature relates two things, one
- /// from the domain and one from the range. Examples include cars paired with wheels, people paired with
- /// other people, and cars paired with numbers representing the car length.Since Features are Types,
- /// their featuringTypes and types can be Features. In this case, the Feature effectively classifies
- /// relations between relations, which can be interpreted as the sequence of things related by the
- /// domain Feature concatenated with the sequence of things related by the co-domain Feature.The values
- /// of a Feature for a given instance of its domain are all the instances of its co-domain that are
- /// related to that domain instance by the Feature. The values of a Feature with chainingFeatures are
- /// the same as values of the last Feature in the chain, which can be found by starting with values of
- /// the first Feature, then using those values as domain instances to obtain valus of the second
- /// Feature, and so on, to values of the last Feature.ownedRedefinition =
- /// ownedSubsetting->selectByKind(Redefinition)ownedTypeFeaturing =
- /// ownedRelationship->selectByKind(TypeFeaturing)-> select(tf | tf.featureOfType =
- /// self)ownedSubsetting = ownedSpecialization->selectByKind(Subsetting)ownedTyping =
- /// ownedGeneralization->selectByKind(FeatureTyping)type = let types : OrderedSet(Types) =
- /// OrderedSet{self}-> -- Note: The closure operation automatically handles circular
- /// relationships. closure(typingFeatures()).typing.type->asOrderedSet() in types->reject(t1 |
- /// types->exist(t2 | t2 <> t1 and t2.specializes(t1)))multiplicity <> null implies
- /// multiplicity.featuringType = featuringType
- /// specializesFromLibrary('Base::things')chainingFeature->excludes(self)ownedFeatureChaining =
- /// ownedRelationship->selectByKind(FeatureChaining)chainingFeature =
- /// ownedFeatureChaining.chainingFeaturechainingFeature->size() <> 1isEnd and owningType <> null implies
- /// let i : Integer = owningType.ownedEndFeature->indexOf(self) in
- /// owningType.ownedSpecialization.general-> forAll(supertype |
- /// supertype.endFeature->size() >= i implies
- /// redefines(supertype.endFeature->at(i))direction = null andownedSpecializations->forAll(isImplied)
- /// implies ownedMembership-> selectByKind(FeatureValue)-> forAll(fv |
- /// specializes(fv.value.result))isEnd and owningType <> null and(owningType.oclIsKindOf(Association) or
- /// owningType.oclIsKindOf(Connector)) implies
- /// specializesFromLibrary('Links::Link::participant')isComposite
- /// andownedTyping.type->includes(oclIsKindOf(Structure)) andowningType <> null
- /// and(owningType.oclIsKindOf(Structure) or owningType.type->includes(oclIsKindOf(Structure))) implies
- ///
- /// specializesFromLibrary('Occurrence::Occurrence::suboccurrences')ownedTyping.type->exists(selectByKind(Class))
- /// implies specializesFromLibrary('Occurrences::occurrences')isComposite
- /// andownedTyping.type->includes(oclIsKindOf(Class)) andowningType <> null
- /// and(owningType.oclIsKindOf(Class) or owningType.oclIsKindOf(Feature) and
- /// owningType.oclAsType(Feature).type-> exists(oclIsKindOf(Class))) implies
- /// specializesFromLibrary('Occurrence::Occurrence::suboccurrences')ownedTyping.type->exists(selectByKind(DataType))
- /// implies specializesFromLibrary('Base::dataValues')owningType <> null
- /// andowningType.oclIsKindOf(FlowEnd) andowningType.ownedFeature->at(1) = self implies let flowType
- /// : Type = owningType.owningType in flowType <> null implies let i : Integer =
- /// flowType.ownedFeature.indexOf(owningType) in (i = 1 implies
- /// redefinesFromLibrary('Transfers::Transfer::source::sourceOutput')) and (i = 2 implies
- /// redefinesFromLibrary('Transfers::Transfer::source::targetInput')) owningType <>
- /// null andnot owningFeatureMembership. oclIsKindOf(ReturnParameterMembership)
- /// and(owningType.oclIsKindOf(Behavior) or owningType.oclIsKindOf(Step) and
- /// (owningType.oclIsKindOf(InvocationExpression) implies not ownedRedefinition->exists(not
- /// isImplied)) implies let i : Integer = owningType.ownedFeature->select(direction <> null)->
- /// reject(owningFeatureMembership. oclIsKindOf(ReturnParameterMembership))->
- /// indexOf(self) in owningType.ownedSpecialization.general-> forAll(supertype |
- /// let ownedParameters : Sequence(Feature) =
- /// supertype.ownedFeature->select(direction <> null)->
- /// reject(owningFeatureMembership. oclIsKindOf(ReturnParameterMembership)) in
- /// ownedParameters->size() >= i implies
- /// redefines(ownedParameters->at(i))ownedTyping.type->exists(selectByKind(Structure)) implies
- /// specializesFromLibary('Objects::objects')owningType <> null and(owningType.oclIsKindOf(Function) and
- /// self = owningType.oclAsType(Function).result or owningType.oclIsKindOf(Expression) and self =
- /// owningType.oclAsType(Expression).result) implies owningType.ownedSpecialization.general->
- /// select(oclIsKindOf(Function) or oclIsKindOf(Expression))-> forAll(supertype |
- /// redefines( if superType.oclIsKindOf(Function) then
- /// superType.oclAsType(Function).result else
- /// superType.oclAsType(Expression).result endif)ownedFeatureInverting =
- /// ownedRelationship->selectByKind(FeatureInverting)-> select(fi | fi.featureInverted =
- /// self)featuringType = let featuringTypes : OrderedSet(Type) =
- /// featuring.type->asOrderedSet() in if chainingFeature->isEmpty() then featuringTypes else
- /// featuringTypes-> union(chainingFeature->first().featuringType)->
- /// asOrderedSet() endifownedReferenceSubsetting = let referenceSubsettings :
- /// OrderedSet(ReferenceSubsetting) = ownedSubsetting->selectByKind(ReferenceSubsetting) in if
- /// referenceSubsettings->isEmpty() then null else referenceSubsettings->first()
- /// endifownedSubsetting->selectByKind(ReferenceSubsetting)->size() <=
- /// 1Sequence{2..chainingFeature->size()}->forAll(i |
- /// chainingFeature->at(i).isFeaturedWithin(chainingFeature->at(i-1)))isPortion
- /// andownedTyping.type->includes(oclIsKindOf(Class)) andowningType <> null
- /// and(owningType.oclIsKindOf(Class) or owningType.oclIsKindOf(Feature) and
- /// owningType.oclAsType(Feature).type-> exists(oclIsKindOf(Class))) implies
- /// specializesFromLibrary('Occurrence::Occurrence::portions')featureTarget = if
- /// chainingFeature->isEmpty() then self else chainingFeature->last() endifownedCrossSubsetting = let
- /// crossSubsettings: Sequence(CrossSubsetting) = ownedSubsetting->selectByKind(CrossSubsetting)
- /// in if crossSubsettings->isEmpty() then null else crossSubsettings->first() endifisEnd
- /// implies multiplicities().allSuperTypes()->flatten()->
- /// selectByKind(MultiplicityRange)->exists(hasBounds(1,1))crossFeature <> null implies
- /// crossFeature.type->asSet() = type->asSet()ownedSubsetting->selectByKind(CrossSubsetting)->size() <=
- /// 1crossFeature = if ownedCrossSubsetting = null then null else let chainingFeatures:
- /// Sequence(Feature) = ownedCrossSubsetting.crossedFeature.chainingFeature in if
- /// chainingFeatures->size() < 2 then null else chainingFeatures->at(2)
- /// endifisOwnedCrossFeature() implies owner.oclAsType(Feature).type->forAll(t |
- /// self.specializes(t))isOwnedCrossFeature() implies ownedSubsetting.subsettedFeature->includesAll(
- /// owner.oclAsType(Feature).ownedRedefinition.redefinedFeature-> select(crossFeature
- /// <> null).crossFeature)crossFeature <> null implies
- /// ownedRedefinition.redefinedFeature.crossFeature-> forAll(f | f <> null implies
- /// crossFeature.specializes(f))ownedCrossFeature() <> null implies crossFeature =
- /// ownedCrossFeature()isOwnedCrossFeature() implies let otherEnds : OrderedSet(Feature) =
- /// owner.oclAsType(Feature).owningType.endFeature->excluding(self) in if (otherEnds->size() = 1)
- /// then featuringType = otherEnds->first().type else featuringType->size() = 1 and
- /// featuringType->first().isCartesianProduct() and
- /// featuringType->first().asCartesianProduct() = otherEnds.type and
- /// featuringType->first().allSupertypes()->includesAll(
- /// owner.oclAsType(Feature).ownedRedefinition.redefinedFeature-> select(crossFeature() <>
- /// null).crossFeature().featuringType) endifisPortion implies not isVariableisEnd implied
- /// direction = nullowningFeatureMembership <> null implies featuringTypes->exists(t |
- /// isFeaturingType(t))isConstant implies isVariableisVariable implies owningType <> null and
- /// owningType.specializes('Occurrences::Occurrence')isEnd implies not (isDerived or isAbstract or
- /// isComposite or isPortion)isEnd and isVariable implies isConstant
- ///
- public partial class Feature : IFeature
- {
- ///
- /// Initializes a new instance of the class.
- ///
- public Feature()
- {
- this.AliasIds = new List();
- this.IsAbstract = false;
- this.IsComposite = false;
- this.IsConstant = false;
- this.IsDerived = false;
- this.IsEnd = false;
- this.IsImpliedIncluded = false;
- this.IsOrdered = false;
- this.IsPortion = false;
- this.IsSufficient = false;
- this.IsUnique = true;
- this.IsVariable = false;
- this.OwnedRelationship = new List();
- }
-
- ///
- /// Gets or sets the unique identifier
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Guid Id { get; set; }
-
- ///
- /// Various alternative identifiers for this Element. Generally, these will be set by tools.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List AliasIds { get; set; }
-
- ///
- /// Queries the derived property ChainingFeature
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: false, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryChainingFeature()
- {
- throw new NotImplementedException("Derived property ChainingFeature not yet supported");
- }
-
- ///
- /// Queries the derived property CrossFeature
- ///
- [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)]
- public Feature QueryCrossFeature()
- {
- throw new NotImplementedException("Derived property CrossFeature not yet supported");
- }
-
- ///
- /// The declared name of this Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredName { get; set; }
-
- ///
- /// An optional alternative name for the Element that is intended to be shorter or in some way more
- /// succinct than its primary name. It may act as a modeler-specified identifier for the Element, though
- /// it is then the responsibility of the modeler to maintain the uniqueness of this identifier within a
- /// model or relative to some other context.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredShortName { get; set; }
-
- ///
- /// Queries the derived property DifferencingType
- ///
- [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)]
- public List QueryDifferencingType()
- {
- throw new NotImplementedException("Derived property DifferencingType not yet supported");
- }
-
- ///
- /// Queries the derived property DirectedFeature
- ///
- [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)]
- public List QueryDirectedFeature()
- {
- throw new NotImplementedException("Derived property DirectedFeature not yet supported");
- }
-
- ///
- /// Indicates how values of this Feature are determined or used (as specified for the
- /// FeatureDirectionKind).
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public FeatureDirectionKind? Direction { get; set; }
-
- ///
- /// Queries the derived property Documentation
- ///
- [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)]
- public List QueryDocumentation()
- {
- throw new NotImplementedException("Derived property Documentation not yet supported");
- }
-
- ///
- /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must
- /// not change during the lifetime of the Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string ElementId { get; set; }
-
- ///
- /// Queries the derived property EndFeature
- ///
- [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)]
- public List QueryEndFeature()
- {
- throw new NotImplementedException("Derived property EndFeature not yet supported");
- }
-
- ///
- /// Queries the derived property EndOwningType
- ///
- [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)]
- public Type QueryEndOwningType()
- {
- throw new NotImplementedException("Derived property EndOwningType not yet supported");
- }
-
- ///
- /// Queries the derived property Feature
- ///
- [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)]
- public List QueryFeature()
- {
- throw new NotImplementedException("Derived property Feature not yet supported");
- }
-
- ///
- /// Queries the derived property FeatureMembership
- ///
- [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)]
- public List QueryFeatureMembership()
- {
- throw new NotImplementedException("Derived property FeatureMembership not yet supported");
- }
-
- ///
- /// Queries the derived property FeatureTarget
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Feature QueryFeatureTarget()
- {
- throw new NotImplementedException("Derived property FeatureTarget not yet supported");
- }
-
- ///
- /// Queries the derived property FeaturingType
- ///
- [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)]
- public List QueryFeaturingType()
- {
- throw new NotImplementedException("Derived property FeaturingType not yet supported");
- }
-
- ///
- /// Queries the derived property ImportedMembership
- ///
- [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)]
- public List QueryImportedMembership()
- {
- throw new NotImplementedException("Derived property ImportedMembership not yet supported");
- }
-
- ///
- /// Queries the derived property InheritedFeature
- ///
- [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)]
- public List QueryInheritedFeature()
- {
- throw new NotImplementedException("Derived property InheritedFeature not yet supported");
- }
-
- ///
- /// Queries the derived property InheritedMembership
- ///
- [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)]
- public List QueryInheritedMembership()
- {
- throw new NotImplementedException("Derived property InheritedMembership not yet supported");
- }
-
- ///
- /// Queries the derived property Input
- ///
- [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)]
- public List QueryInput()
- {
- throw new NotImplementedException("Derived property Input not yet supported");
- }
-
- ///
- /// Queries the derived property IntersectingType
- ///
- [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)]
- public List QueryIntersectingType()
- {
- throw new NotImplementedException("Derived property IntersectingType not yet supported");
- }
-
- ///
- /// Indicates whether instances of this Type must also be instances of at least one of its specialized
- /// Types.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsAbstract { get; set; }
-
- ///
- /// Whether the Feature is a composite feature of its featuringType. If so, the values of the Feature
- /// cannot exist after its featuring instance no longer does and cannot be values of another composite
- /// feature that is not on the same featuring instance.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsComposite { get; set; }
-
- ///
- /// Queries the derived property IsConjugated
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsConjugated()
- {
- throw new NotImplementedException("Derived property IsConjugated not yet supported");
- }
-
- ///
- /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all
- /// snapshots of its owningType.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsConstant { get; set; }
-
- ///
- /// Whether the values of this Feature can always be computed from the values of other Features.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsDerived { get; set; }
-
- ///
- /// Whether or not this Feature is an end Feature. An end Feature always has multiplicity 1, mapping
- /// each of its domain instances to a single co-domain instance. However, it may have a crossFeature, in
- /// which case values of the crossFeature must be the same as those found by navigation across instances
- /// of the owningType from values of other end Features to values of this Feature. If the owningType has
- /// n end Features, then the multiplicity, ordering, and uniqueness declared for the crossFeature of any
- /// one of these end Features constrains the cardinality, ordering, and uniqueness of the collection of
- /// values of that Feature reached by navigation when the values of the other n-1 end Features are held
- /// fixed.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsEnd { get; set; }
-
- ///
- /// Whether all necessary implied Relationships have been included in the ownedRelationships of this
- /// Element. This property may be true, even if there are not actually any ownedRelationships with
- /// isImplied = true, meaning that no such Relationships are actually implied for this Element. However,
- /// if it is false, then ownedRelationships may not contain any implied Relationships. That is, either
- /// all required implied Relationships must be included, or none of them.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsImpliedIncluded { get; set; }
-
- ///
- /// Queries the derived property IsLibraryElement
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsLibraryElement()
- {
- throw new NotImplementedException("Derived property IsLibraryElement not yet supported");
- }
-
- ///
- /// Queries the derived property IsNonunique
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsNonunique()
- {
- throw new NotImplementedException("Derived property IsNonunique not yet supported");
- }
-
- ///
- /// Whether an order exists for the values of this Feature or not.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsOrdered { get; set; }
-
- ///
- /// Whether the values of this Feature are contained in the space and time of instances of the domain of
- /// the Feature and represent the same thing as those instances.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsPortion { get; set; }
-
- ///
- /// Whether all things that meet the classification conditions of this Type must be classified by the
- /// Type.(A Type gives conditions that must be met by whatever it classifies, but when isSufficient
- /// is false, things may meet those conditions but still not be classified by the Type. For example, a
- /// Type Car that is not sufficient could require everything it classifies to have four wheels, but not
- /// all four wheeled things would classify as cars. However, if the Type Car were sufficient, it would
- /// classify all four-wheeled things.)
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsSufficient { get; set; }
-
- ///
- /// Whether or not values for this Feature must have no duplicates or not.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsUnique { get; set; }
-
- ///
- /// Whether the value of this Feature might vary over time. That is, whether the Feature may have a
- /// different value for each snapshot of an owningType that is an Occurrence.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsVariable { get; set; }
-
- ///
- /// Queries the derived property Member
- ///
- [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)]
- public List QueryMember()
- {
- throw new NotImplementedException("Derived property Member not yet supported");
- }
-
- ///
- /// Queries the derived property Membership
- ///
- [EFeature(isChangeable: false, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryMembership()
- {
- throw new NotImplementedException("Derived property Membership not yet supported");
- }
-
- ///
- /// Queries the derived property Multiplicity
- ///
- [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)]
- public Multiplicity QueryMultiplicity()
- {
- throw new NotImplementedException("Derived property Multiplicity not yet supported");
- }
-
- ///
- /// Queries the derived property Name
- ///
- [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)]
- public string QueryName()
- {
- throw new NotImplementedException("Derived property Name not yet supported");
- }
-
- ///
- /// Queries the derived property Output
- ///
- [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)]
- public List QueryOutput()
- {
- throw new NotImplementedException("Derived property Output not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAnnotation
- ///
- [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)]
- public List QueryOwnedAnnotation()
- {
- throw new NotImplementedException("Derived property OwnedAnnotation not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedConjugator
- ///
- [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)]
- public Conjugation QueryOwnedConjugator()
- {
- throw new NotImplementedException("Derived property OwnedConjugator not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedCrossSubsetting
- ///
- [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)]
- public CrossSubsetting QueryOwnedCrossSubsetting()
- {
- throw new NotImplementedException("Derived property OwnedCrossSubsetting not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedDifferencing
- ///
- [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)]
- public List QueryOwnedDifferencing()
- {
- throw new NotImplementedException("Derived property OwnedDifferencing not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedDisjoining
- ///
- [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)]
- public List QueryOwnedDisjoining()
- {
- throw new NotImplementedException("Derived property OwnedDisjoining not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedElement
- ///
- [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)]
- public List QueryOwnedElement()
- {
- throw new NotImplementedException("Derived property OwnedElement not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedEndFeature
- ///
- [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)]
- public List QueryOwnedEndFeature()
- {
- throw new NotImplementedException("Derived property OwnedEndFeature not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeature
- ///
- [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)]
- public List QueryOwnedFeature()
- {
- throw new NotImplementedException("Derived property OwnedFeature not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeatureChaining
- ///
- [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)]
- public List QueryOwnedFeatureChaining()
- {
- throw new NotImplementedException("Derived property OwnedFeatureChaining not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeatureInverting
- ///
- [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)]
- public List QueryOwnedFeatureInverting()
- {
- throw new NotImplementedException("Derived property OwnedFeatureInverting not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeatureMembership
- ///
- [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)]
- public List QueryOwnedFeatureMembership()
- {
- throw new NotImplementedException("Derived property OwnedFeatureMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedImport
- ///
- [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)]
- public List QueryOwnedImport()
- {
- throw new NotImplementedException("Derived property OwnedImport not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedIntersecting
- ///
- [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)]
- public List QueryOwnedIntersecting()
- {
- throw new NotImplementedException("Derived property OwnedIntersecting not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedMember
- ///
- [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)]
- public List QueryOwnedMember()
- {
- throw new NotImplementedException("Derived property OwnedMember not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedMembership
- ///
- [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)]
- public List QueryOwnedMembership()
- {
- throw new NotImplementedException("Derived property OwnedMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedRedefinition
- ///
- [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)]
- public List QueryOwnedRedefinition()
- {
- throw new NotImplementedException("Derived property OwnedRedefinition not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedReferenceSubsetting
- ///
- [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)]
- public ReferenceSubsetting QueryOwnedReferenceSubsetting()
- {
- throw new NotImplementedException("Derived property OwnedReferenceSubsetting not yet supported");
- }
-
- ///
- /// The Relationships for which this Element is the owningRelatedElement.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: true)]
- public List OwnedRelationship { get; set; }
-
- ///
- /// Queries the derived property OwnedSpecialization
- ///
- [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)]
- public List QueryOwnedSpecialization()
- {
- throw new NotImplementedException("Derived property OwnedSpecialization not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedSubsetting
- ///
- [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)]
- public List QueryOwnedSubsetting()
- {
- throw new NotImplementedException("Derived property OwnedSubsetting not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedTypeFeaturing
- ///
- [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)]
- public List QueryOwnedTypeFeaturing()
- {
- throw new NotImplementedException("Derived property OwnedTypeFeaturing not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedTyping
- ///
- [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)]
- public List QueryOwnedTyping()
- {
- throw new NotImplementedException("Derived property OwnedTyping not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedUnioning
- ///
- [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)]
- public List QueryOwnedUnioning()
- {
- throw new NotImplementedException("Derived property OwnedUnioning not yet supported");
- }
-
- ///
- /// Queries the derived property Owner
- ///
- [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)]
- public IElement QueryOwner()
- {
- throw new NotImplementedException("Derived property Owner not yet supported");
- }
-
- ///
- /// Queries the derived property OwningFeatureMembership
- ///
- [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)]
- public FeatureMembership QueryOwningFeatureMembership()
- {
- throw new NotImplementedException("Derived property OwningFeatureMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwningMembership
- ///
- [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)]
- public OwningMembership QueryOwningMembership()
- {
- throw new NotImplementedException("Derived property OwningMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwningNamespace
- ///
- [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)]
- public Namespace QueryOwningNamespace()
- {
- throw new NotImplementedException("Derived property OwningNamespace not yet supported");
- }
-
- ///
- /// The Relationship for which this Element is an ownedRelatedElement, if any.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public IRelationship OwningRelationship { get; set; }
-
- ///
- /// Queries the derived property OwningType
- ///
- [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)]
- public Type QueryOwningType()
- {
- throw new NotImplementedException("Derived property OwningType not yet supported");
- }
-
- ///
- /// Queries the derived property QualifiedName
- ///
- [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)]
- public string QueryQualifiedName()
- {
- throw new NotImplementedException("Derived property QualifiedName not yet supported");
- }
-
- ///
- /// Queries the derived property ShortName
- ///
- [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)]
- public string QueryShortName()
- {
- throw new NotImplementedException("Derived property ShortName not yet supported");
- }
-
- ///
- /// Queries the derived property TextualRepresentation
- ///
- [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)]
- public List QueryTextualRepresentation()
- {
- throw new NotImplementedException("Derived property TextualRepresentation not yet supported");
- }
-
- ///
- /// Queries the derived property Type
- ///
- [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)]
- public List QueryType()
- {
- throw new NotImplementedException("Derived property Type not yet supported");
- }
-
- ///
- /// Queries the derived property UnioningType
- ///
- [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)]
- public List QueryUnioningType()
- {
- throw new NotImplementedException("Derived property UnioningType not yet supported");
- }
-
- }
-}
-
-// ------------------------------------------------------------------------------------------------
-// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
-// ------------------------------------------------------------------------------------------------
diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/FeatureTyping.cs b/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/FeatureTyping.cs
deleted file mode 100644
index ed2ec0948..000000000
--- a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/FeatureTyping.cs
+++ /dev/null
@@ -1,297 +0,0 @@
-// -------------------------------------------------------------------------------------------------
-//
-//
-// 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.
-//
-//
-// ------------------------------------------------------------------------------------------------
-
-// ------------------------------------------------------------------------------------------------
-// --------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;
-
- ///
- /// FeatureTyping is Specialization in which the specific Type is a Feature. This means the set of
- /// instances of the (specific) typedFeature is a subset of the set of instances of the (general) type.
- /// In the simplest case, the type is a Classifier, whereupon the typedFeature has values that are
- /// instances of the Classifier.
- ///
- public partial class FeatureTyping : IFeatureTyping
- {
- ///
- /// Initializes a new instance of the class.
- ///
- public FeatureTyping()
- {
- this.AliasIds = new List();
- this.IsImplied = false;
- this.IsImpliedIncluded = false;
- this.OwnedRelatedElement = new List();
- this.OwnedRelationship = new List();
- this.Source = new List();
- this.Target = new List();
- }
-
- ///
- /// Gets or sets the unique identifier
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Guid Id { get; set; }
-
- ///
- /// Various alternative identifiers for this Element. Generally, these will be set by tools.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List AliasIds { get; set; }
-
- ///
- /// The declared name of this Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredName { get; set; }
-
- ///
- /// An optional alternative name for the Element that is intended to be shorter or in some way more
- /// succinct than its primary name. It may act as a modeler-specified identifier for the Element, though
- /// it is then the responsibility of the modeler to maintain the uniqueness of this identifier within a
- /// model or relative to some other context.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredShortName { get; set; }
-
- ///
- /// Queries the derived property Documentation
- ///
- [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)]
- public List QueryDocumentation()
- {
- throw new NotImplementedException("Derived property Documentation not yet supported");
- }
-
- ///
- /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must
- /// not change during the lifetime of the Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string ElementId { get; set; }
-
- ///
- /// A Type with a superset of all instances of the specific Type, which might be the same set.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Type General { get; set; }
-
- ///
- /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being
- /// directly created by a modeler.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsImplied { get; set; }
-
- ///
- /// Whether all necessary implied Relationships have been included in the ownedRelationships of this
- /// Element. This property may be true, even if there are not actually any ownedRelationships with
- /// isImplied = true, meaning that no such Relationships are actually implied for this Element. However,
- /// if it is false, then ownedRelationships may not contain any implied Relationships. That is, either
- /// all required implied Relationships must be included, or none of them.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsImpliedIncluded { get; set; }
-
- ///
- /// Queries the derived property IsLibraryElement
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsLibraryElement()
- {
- throw new NotImplementedException("Derived property IsLibraryElement not yet supported");
- }
-
- ///
- /// Queries the derived property Name
- ///
- [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)]
- public string QueryName()
- {
- throw new NotImplementedException("Derived property Name not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAnnotation
- ///
- [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)]
- public List QueryOwnedAnnotation()
- {
- throw new NotImplementedException("Derived property OwnedAnnotation not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedElement
- ///
- [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)]
- public List QueryOwnedElement()
- {
- throw new NotImplementedException("Derived property OwnedElement not yet supported");
- }
-
- ///
- /// The relatedElements of this Relationship that are owned by the Relationship.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: true)]
- public List OwnedRelatedElement { get; set; }
-
- ///
- /// The Relationships for which this Element is the owningRelatedElement.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: true)]
- public List OwnedRelationship { get; set; }
-
- ///
- /// Queries the derived property Owner
- ///
- [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)]
- public IElement QueryOwner()
- {
- throw new NotImplementedException("Derived property Owner not yet supported");
- }
-
- ///
- /// Queries the derived property OwningFeature
- ///
- [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)]
- public Feature QueryOwningFeature()
- {
- throw new NotImplementedException("Derived property OwningFeature not yet supported");
- }
-
- ///
- /// Queries the derived property OwningMembership
- ///
- [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)]
- public OwningMembership QueryOwningMembership()
- {
- throw new NotImplementedException("Derived property OwningMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwningNamespace
- ///
- [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)]
- public Namespace QueryOwningNamespace()
- {
- throw new NotImplementedException("Derived property OwningNamespace not yet supported");
- }
-
- ///
- /// The relatedElement of this Relationship that owns the Relationship, if any.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public IElement OwningRelatedElement { get; set; }
-
- ///
- /// The Relationship for which this Element is an ownedRelatedElement, if any.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public IRelationship OwningRelationship { get; set; }
-
- ///
- /// Queries the derived property OwningType
- ///
- [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)]
- public Type QueryOwningType()
- {
- throw new NotImplementedException("Derived property OwningType not yet supported");
- }
-
- ///
- /// Queries the derived property QualifiedName
- ///
- [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)]
- public string QueryQualifiedName()
- {
- throw new NotImplementedException("Derived property QualifiedName not yet supported");
- }
-
- ///
- /// Queries the derived property RelatedElement
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: false, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryRelatedElement()
- {
- throw new NotImplementedException("Derived property RelatedElement not yet supported");
- }
-
- ///
- /// Queries the derived property ShortName
- ///
- [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)]
- public string QueryShortName()
- {
- throw new NotImplementedException("Derived property ShortName not yet supported");
- }
-
- ///
- /// The relatedElements from which this Relationship is considered to be directed.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List Source { get; set; }
-
- ///
- /// A Type with a subset of all instances of the general Type, which might be the same set.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Type Specific { get; set; }
-
- ///
- /// The relatedElements to which this Relationship is considered to be directed.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List Target { get; set; }
-
- ///
- /// Queries the derived property TextualRepresentation
- ///
- [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)]
- public List QueryTextualRepresentation()
- {
- throw new NotImplementedException("Derived property TextualRepresentation not yet supported");
- }
-
- ///
- /// The Type that is being applied by this FeatureTyping.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Type Type { get; set; }
-
- ///
- /// The Feature that has a type determined by this FeatureTyping.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Feature TypedFeature { get; set; }
-
- }
-}
-
-// ------------------------------------------------------------------------------------------------
-// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
-// ------------------------------------------------------------------------------------------------
diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Flow.cs b/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Flow.cs
deleted file mode 100644
index b3b30bd25..000000000
--- a/SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Flow.cs
+++ /dev/null
@@ -1,889 +0,0 @@
-// -------------------------------------------------------------------------------------------------
-//
-//
-// 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.
-//
-//
-// ------------------------------------------------------------------------------------------------
-
-// ------------------------------------------------------------------------------------------------
-// --------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;
-
- ///
- /// An Flow is a Step that represents the transfer of values from one Feature to another. Flows can take
- /// non-zero time to complete.specializesFromLibrary('Transfers::transfers')payloadType = if
- /// payloadFeature = null then Sequence{} else payloadFeature.type endifsourceOutputFeature =
- /// if connectorEnd->isEmpty() or connectorEnd.ownedFeature->isEmpty() then null else
- /// connectorEnd.ownedFeature->first() endiftargetInputFeature = if connectorEnd->size() < 2 or
- /// connectorEnd->at(2).ownedFeature->isEmpty() then null else
- /// connectorEnd->at(2).ownedFeature->first() endifflowEnd =
- /// connectorEnd->selectByKind(FlowEnd)payloadFeature = let payloadFeatures :
- /// Sequence(PayloadFeature) = ownedFeature->selectByKind(PayloadFeature) in if
- /// payloadFeatures->isEmpty() then null else payloadFeatures->first()
- /// endifownedFeature->selectByKind(PayloadFeature)->size() <= 1ownedEndFeatures->notEmpty() implies
- /// specializesFromLibrary('Transfers::flowTransfers')
- ///
- public partial class Flow : IFlow
- {
- ///
- /// Initializes a new instance of the class.
- ///
- public Flow()
- {
- this.AliasIds = new List();
- this.IsAbstract = false;
- this.IsComposite = false;
- this.IsConstant = false;
- this.IsDerived = false;
- this.IsEnd = false;
- this.IsImplied = false;
- this.IsImpliedIncluded = false;
- this.IsOrdered = false;
- this.IsPortion = false;
- this.IsSufficient = false;
- this.IsUnique = true;
- this.IsVariable = false;
- this.OwnedRelatedElement = new List();
- this.OwnedRelationship = new List();
- this.Source = new List();
- this.Target = new List();
- }
-
- ///
- /// Gets or sets the unique identifier
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Guid Id { get; set; }
-
- ///
- /// Various alternative identifiers for this Element. Generally, these will be set by tools.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List AliasIds { get; set; }
-
- ///
- /// Queries the derived property Association
- ///
- [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)]
- public List QueryAssociation()
- {
- throw new NotImplementedException("Derived property Association not yet supported");
- }
-
- ///
- /// Queries the derived property Behavior
- ///
- [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)]
- public List QueryBehavior()
- {
- throw new NotImplementedException("Derived property Behavior not yet supported");
- }
-
- ///
- /// Queries the derived property ChainingFeature
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: false, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryChainingFeature()
- {
- throw new NotImplementedException("Derived property ChainingFeature not yet supported");
- }
-
- ///
- /// Queries the derived property ConnectorEnd
- ///
- [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)]
- public List QueryConnectorEnd()
- {
- throw new NotImplementedException("Derived property ConnectorEnd not yet supported");
- }
-
- ///
- /// Queries the derived property CrossFeature
- ///
- [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)]
- public Feature QueryCrossFeature()
- {
- throw new NotImplementedException("Derived property CrossFeature not yet supported");
- }
-
- ///
- /// The declared name of this Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredName { get; set; }
-
- ///
- /// An optional alternative name for the Element that is intended to be shorter or in some way more
- /// succinct than its primary name. It may act as a modeler-specified identifier for the Element, though
- /// it is then the responsibility of the modeler to maintain the uniqueness of this identifier within a
- /// model or relative to some other context.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string DeclaredShortName { get; set; }
-
- ///
- /// Queries the derived property DefaultFeaturingType
- ///
- [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)]
- public Type QueryDefaultFeaturingType()
- {
- throw new NotImplementedException("Derived property DefaultFeaturingType not yet supported");
- }
-
- ///
- /// Queries the derived property DifferencingType
- ///
- [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)]
- public List QueryDifferencingType()
- {
- throw new NotImplementedException("Derived property DifferencingType not yet supported");
- }
-
- ///
- /// Queries the derived property DirectedFeature
- ///
- [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)]
- public List QueryDirectedFeature()
- {
- throw new NotImplementedException("Derived property DirectedFeature not yet supported");
- }
-
- ///
- /// Indicates how values of this Feature are determined or used (as specified for the
- /// FeatureDirectionKind).
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public FeatureDirectionKind? Direction { get; set; }
-
- ///
- /// Queries the derived property Documentation
- ///
- [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)]
- public List QueryDocumentation()
- {
- throw new NotImplementedException("Derived property Documentation not yet supported");
- }
-
- ///
- /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must
- /// not change during the lifetime of the Element.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public string ElementId { get; set; }
-
- ///
- /// Queries the derived property EndFeature
- ///
- [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)]
- public List QueryEndFeature()
- {
- throw new NotImplementedException("Derived property EndFeature not yet supported");
- }
-
- ///
- /// Queries the derived property EndOwningType
- ///
- [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)]
- public Type QueryEndOwningType()
- {
- throw new NotImplementedException("Derived property EndOwningType not yet supported");
- }
-
- ///
- /// Queries the derived property Feature
- ///
- [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)]
- public List QueryFeature()
- {
- throw new NotImplementedException("Derived property Feature not yet supported");
- }
-
- ///
- /// Queries the derived property FeatureMembership
- ///
- [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)]
- public List QueryFeatureMembership()
- {
- throw new NotImplementedException("Derived property FeatureMembership not yet supported");
- }
-
- ///
- /// Queries the derived property FeatureTarget
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Feature QueryFeatureTarget()
- {
- throw new NotImplementedException("Derived property FeatureTarget not yet supported");
- }
-
- ///
- /// Queries the derived property FeaturingType
- ///
- [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)]
- public List QueryFeaturingType()
- {
- throw new NotImplementedException("Derived property FeaturingType not yet supported");
- }
-
- ///
- /// Queries the derived property FlowEnd
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: 2, isMany: false, isRequired: false, isContainment: false)]
- public List QueryFlowEnd()
- {
- throw new NotImplementedException("Derived property FlowEnd not yet supported");
- }
-
- ///
- /// Queries the derived property ImportedMembership
- ///
- [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)]
- public List QueryImportedMembership()
- {
- throw new NotImplementedException("Derived property ImportedMembership not yet supported");
- }
-
- ///
- /// Queries the derived property InheritedFeature
- ///
- [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)]
- public List QueryInheritedFeature()
- {
- throw new NotImplementedException("Derived property InheritedFeature not yet supported");
- }
-
- ///
- /// Queries the derived property InheritedMembership
- ///
- [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)]
- public List QueryInheritedMembership()
- {
- throw new NotImplementedException("Derived property InheritedMembership not yet supported");
- }
-
- ///
- /// Queries the derived property Input
- ///
- [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)]
- public List QueryInput()
- {
- throw new NotImplementedException("Derived property Input not yet supported");
- }
-
- ///
- /// Queries the derived property Interaction
- ///
- [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)]
- public List QueryInteraction()
- {
- throw new NotImplementedException("Derived property Interaction not yet supported");
- }
-
- ///
- /// Queries the derived property IntersectingType
- ///
- [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)]
- public List QueryIntersectingType()
- {
- throw new NotImplementedException("Derived property IntersectingType not yet supported");
- }
-
- ///
- /// Indicates whether instances of this Type must also be instances of at least one of its specialized
- /// Types.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsAbstract { get; set; }
-
- ///
- /// Whether the Feature is a composite feature of its featuringType. If so, the values of the Feature
- /// cannot exist after its featuring instance no longer does and cannot be values of another composite
- /// feature that is not on the same featuring instance.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsComposite { get; set; }
-
- ///
- /// Queries the derived property IsConjugated
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsConjugated()
- {
- throw new NotImplementedException("Derived property IsConjugated not yet supported");
- }
-
- ///
- /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all
- /// snapshots of its owningType.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsConstant { get; set; }
-
- ///
- /// Whether the values of this Feature can always be computed from the values of other Features.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsDerived { get; set; }
-
- ///
- /// Whether or not this Feature is an end Feature. An end Feature always has multiplicity 1, mapping
- /// each of its domain instances to a single co-domain instance. However, it may have a crossFeature, in
- /// which case values of the crossFeature must be the same as those found by navigation across instances
- /// of the owningType from values of other end Features to values of this Feature. If the owningType has
- /// n end Features, then the multiplicity, ordering, and uniqueness declared for the crossFeature of any
- /// one of these end Features constrains the cardinality, ordering, and uniqueness of the collection of
- /// values of that Feature reached by navigation when the values of the other n-1 end Features are held
- /// fixed.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsEnd { get; set; }
-
- ///
- /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being
- /// directly created by a modeler.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsImplied { get; set; }
-
- ///
- /// Whether all necessary implied Relationships have been included in the ownedRelationships of this
- /// Element. This property may be true, even if there are not actually any ownedRelationships with
- /// isImplied = true, meaning that no such Relationships are actually implied for this Element. However,
- /// if it is false, then ownedRelationships may not contain any implied Relationships. That is, either
- /// all required implied Relationships must be included, or none of them.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsImpliedIncluded { get; set; }
-
- ///
- /// Queries the derived property IsLibraryElement
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsLibraryElement()
- {
- throw new NotImplementedException("Derived property IsLibraryElement not yet supported");
- }
-
- ///
- /// Queries the derived property IsNonunique
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool QueryIsNonunique()
- {
- throw new NotImplementedException("Derived property IsNonunique not yet supported");
- }
-
- ///
- /// Whether an order exists for the values of this Feature or not.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsOrdered { get; set; }
-
- ///
- /// Whether the values of this Feature are contained in the space and time of instances of the domain of
- /// the Feature and represent the same thing as those instances.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsPortion { get; set; }
-
- ///
- /// Whether all things that meet the classification conditions of this Type must be classified by the
- /// Type.(A Type gives conditions that must be met by whatever it classifies, but when isSufficient
- /// is false, things may meet those conditions but still not be classified by the Type. For example, a
- /// Type Car that is not sufficient could require everything it classifies to have four wheels, but not
- /// all four wheeled things would classify as cars. However, if the Type Car were sufficient, it would
- /// classify all four-wheeled things.)
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsSufficient { get; set; }
-
- ///
- /// Whether or not values for this Feature must have no duplicates or not.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsUnique { get; set; }
-
- ///
- /// Whether the value of this Feature might vary over time. That is, whether the Feature may have a
- /// different value for each snapshot of an owningType that is an Occurrence.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public bool IsVariable { get; set; }
-
- ///
- /// Queries the derived property Member
- ///
- [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)]
- public List QueryMember()
- {
- throw new NotImplementedException("Derived property Member not yet supported");
- }
-
- ///
- /// Queries the derived property Membership
- ///
- [EFeature(isChangeable: false, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryMembership()
- {
- throw new NotImplementedException("Derived property Membership not yet supported");
- }
-
- ///
- /// Queries the derived property Multiplicity
- ///
- [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)]
- public Multiplicity QueryMultiplicity()
- {
- throw new NotImplementedException("Derived property Multiplicity not yet supported");
- }
-
- ///
- /// Queries the derived property Name
- ///
- [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)]
- public string QueryName()
- {
- throw new NotImplementedException("Derived property Name not yet supported");
- }
-
- ///
- /// Queries the derived property Output
- ///
- [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)]
- public List QueryOutput()
- {
- throw new NotImplementedException("Derived property Output not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedAnnotation
- ///
- [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)]
- public List QueryOwnedAnnotation()
- {
- throw new NotImplementedException("Derived property OwnedAnnotation not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedConjugator
- ///
- [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)]
- public Conjugation QueryOwnedConjugator()
- {
- throw new NotImplementedException("Derived property OwnedConjugator not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedCrossSubsetting
- ///
- [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)]
- public CrossSubsetting QueryOwnedCrossSubsetting()
- {
- throw new NotImplementedException("Derived property OwnedCrossSubsetting not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedDifferencing
- ///
- [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)]
- public List QueryOwnedDifferencing()
- {
- throw new NotImplementedException("Derived property OwnedDifferencing not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedDisjoining
- ///
- [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)]
- public List QueryOwnedDisjoining()
- {
- throw new NotImplementedException("Derived property OwnedDisjoining not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedElement
- ///
- [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)]
- public List QueryOwnedElement()
- {
- throw new NotImplementedException("Derived property OwnedElement not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedEndFeature
- ///
- [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)]
- public List QueryOwnedEndFeature()
- {
- throw new NotImplementedException("Derived property OwnedEndFeature not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeature
- ///
- [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)]
- public List QueryOwnedFeature()
- {
- throw new NotImplementedException("Derived property OwnedFeature not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeatureChaining
- ///
- [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)]
- public List QueryOwnedFeatureChaining()
- {
- throw new NotImplementedException("Derived property OwnedFeatureChaining not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeatureInverting
- ///
- [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)]
- public List QueryOwnedFeatureInverting()
- {
- throw new NotImplementedException("Derived property OwnedFeatureInverting not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedFeatureMembership
- ///
- [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)]
- public List QueryOwnedFeatureMembership()
- {
- throw new NotImplementedException("Derived property OwnedFeatureMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedImport
- ///
- [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)]
- public List QueryOwnedImport()
- {
- throw new NotImplementedException("Derived property OwnedImport not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedIntersecting
- ///
- [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)]
- public List QueryOwnedIntersecting()
- {
- throw new NotImplementedException("Derived property OwnedIntersecting not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedMember
- ///
- [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)]
- public List QueryOwnedMember()
- {
- throw new NotImplementedException("Derived property OwnedMember not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedMembership
- ///
- [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)]
- public List QueryOwnedMembership()
- {
- throw new NotImplementedException("Derived property OwnedMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedRedefinition
- ///
- [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)]
- public List QueryOwnedRedefinition()
- {
- throw new NotImplementedException("Derived property OwnedRedefinition not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedReferenceSubsetting
- ///
- [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)]
- public ReferenceSubsetting QueryOwnedReferenceSubsetting()
- {
- throw new NotImplementedException("Derived property OwnedReferenceSubsetting not yet supported");
- }
-
- ///
- /// The relatedElements of this Relationship that are owned by the Relationship.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: true)]
- public List OwnedRelatedElement { get; set; }
-
- ///
- /// The Relationships for which this Element is the owningRelatedElement.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: true)]
- public List OwnedRelationship { get; set; }
-
- ///
- /// Queries the derived property OwnedSpecialization
- ///
- [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)]
- public List QueryOwnedSpecialization()
- {
- throw new NotImplementedException("Derived property OwnedSpecialization not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedSubsetting
- ///
- [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)]
- public List QueryOwnedSubsetting()
- {
- throw new NotImplementedException("Derived property OwnedSubsetting not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedTypeFeaturing
- ///
- [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)]
- public List QueryOwnedTypeFeaturing()
- {
- throw new NotImplementedException("Derived property OwnedTypeFeaturing not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedTyping
- ///
- [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)]
- public List QueryOwnedTyping()
- {
- throw new NotImplementedException("Derived property OwnedTyping not yet supported");
- }
-
- ///
- /// Queries the derived property OwnedUnioning
- ///
- [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)]
- public List QueryOwnedUnioning()
- {
- throw new NotImplementedException("Derived property OwnedUnioning not yet supported");
- }
-
- ///
- /// Queries the derived property Owner
- ///
- [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)]
- public IElement QueryOwner()
- {
- throw new NotImplementedException("Derived property Owner not yet supported");
- }
-
- ///
- /// Queries the derived property OwningFeatureMembership
- ///
- [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)]
- public FeatureMembership QueryOwningFeatureMembership()
- {
- throw new NotImplementedException("Derived property OwningFeatureMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwningMembership
- ///
- [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)]
- public OwningMembership QueryOwningMembership()
- {
- throw new NotImplementedException("Derived property OwningMembership not yet supported");
- }
-
- ///
- /// Queries the derived property OwningNamespace
- ///
- [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)]
- public Namespace QueryOwningNamespace()
- {
- throw new NotImplementedException("Derived property OwningNamespace not yet supported");
- }
-
- ///
- /// The relatedElement of this Relationship that owns the Relationship, if any.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public IElement OwningRelatedElement { get; set; }
-
- ///
- /// The Relationship for which this Element is an ownedRelatedElement, if any.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public IRelationship OwningRelationship { get; set; }
-
- ///
- /// Queries the derived property OwningType
- ///
- [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)]
- public Type QueryOwningType()
- {
- throw new NotImplementedException("Derived property OwningType not yet supported");
- }
-
- ///
- /// Queries the derived property Parameter
- ///
- [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)]
- public List QueryParameter()
- {
- throw new NotImplementedException("Derived property Parameter not yet supported");
- }
-
- ///
- /// Queries the derived property PayloadFeature
- ///
- [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)]
- public PayloadFeature QueryPayloadFeature()
- {
- throw new NotImplementedException("Derived property PayloadFeature not yet supported");
- }
-
- ///
- /// Queries the derived property PayloadType
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: false, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryPayloadType()
- {
- throw new NotImplementedException("Derived property PayloadType not yet supported");
- }
-
- ///
- /// Queries the derived property QualifiedName
- ///
- [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)]
- public string QueryQualifiedName()
- {
- throw new NotImplementedException("Derived property QualifiedName not yet supported");
- }
-
- ///
- /// Queries the derived property RelatedElement
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: false, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryRelatedElement()
- {
- throw new NotImplementedException("Derived property RelatedElement not yet supported");
- }
-
- ///
- /// Queries the derived property RelatedFeature
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: false, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List QueryRelatedFeature()
- {
- throw new NotImplementedException("Derived property RelatedFeature not yet supported");
- }
-
- ///
- /// Queries the derived property ShortName
- ///
- [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)]
- public string QueryShortName()
- {
- throw new NotImplementedException("Derived property ShortName not yet supported");
- }
-
- ///
- /// The relatedElements from which this Relationship is considered to be directed.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List Source { get; set; }
-
- ///
- /// Queries the derived property SourceFeature
- ///
- [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)]
- public Feature QuerySourceFeature()
- {
- throw new NotImplementedException("Derived property SourceFeature not yet supported");
- }
-
- ///
- /// Queries the derived property SourceOutputFeature
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: false, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Feature QuerySourceOutputFeature()
- {
- throw new NotImplementedException("Derived property SourceOutputFeature not yet supported");
- }
-
- ///
- /// The relatedElements to which this Relationship is considered to be directed.
- ///
- [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
- public List Target { get; set; }
-
- ///
- /// Queries the derived property TargetFeature
- ///
- [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)]
- public List QueryTargetFeature()
- {
- throw new NotImplementedException("Derived property TargetFeature not yet supported");
- }
-
- ///
- /// Queries the derived property TargetInputFeature
- ///
- [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: false, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
- public Feature QueryTargetInputFeature()
- {
- throw new NotImplementedException("Derived property TargetInputFeature not yet supported");
- }
-
- ///
- /// Queries the derived property TextualRepresentation
- ///
- [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)]
- public List QueryTextualRepresentation()
- {
- throw new NotImplementedException("Derived property TextualRepresentation not yet supported");
- }
-
- ///